FindingMath

No finite set of polynomial tests gives the exact frequency limit for equal splits of four and six leaves

Version 1 Published 2026-11-25 DOI 10.5281/zenodo.24531607

Importance (self-rated) Notable

It identifies the sharp logarithmic term on a previously numerically bounded tree-profile edge and proves a structural obstruction to finite polynomial descriptions.

Why it matters

If four leaves picked from a large tree rarely split into two pairs, how rarely can six leaves split into two groups of three? We found the first two terms of that lower limit, including a logarithm that matters for how computers test which pairs of frequencies are possible. Methods that tighten the bounds by adding polynomial tests can get closer, but no finite stage can give the exact boundary near a comb-shaped tree.

Suppose you sample leaves from a large tree in which every branch divides in two. Trace the sampled leaves back to their most recent common ancestor and count how many descend from each of its two children. If four randomly chosen leaves often split into two pairs, how often must six leaves from the same tree split into two groups of three? Knowing the minimum would let us rule out pairs of frequencies that no large tree can produce. Polynomial inequalities give successively closer bounds on that minimum, but a close bound can still admit impossible pairs.

Let d be the probability of the two-pair split and p the probability of the three-against-three split, in each case sampling distinct leaves uniformly. When the two-pair split is rare, the minimum six-leaf probability in the large-tree limit is approximately 10/9 times the square of the four-leaf probability. The first correction to that rule contains a logarithm:

p_{\min}(d)=\frac{10}{9}d^2+\frac{5}{27}d^3\log(1/d)+O(d^3) \qquad(d\downarrow0).

Here and throughout, logarithms are natural. The remainder denoted by O(d^3) is bounded in magnitude by a constant times d^3 for sufficiently small d. The logarithmic term is therefore larger than this remainder as d approaches zero. Its presence rules out an exact description of the possible pairs near (0,0) by any finite combination of polynomial tests, even with extra variables. The same obstruction holds if we allow weighted averages of pairs from different trees, a region called the convex hull.

The two split probabilities

A rooted binary tree has a designated starting point, the root, and each branch has two children. In a caterpillar, also called a comb, every branch has a leaf as one child. The first split then separates one sampled leaf from the rest, so the comb gives (d,p)=(0,0).

The profile consists of all limits of (d,p) along sequences of trees whose leaf counts tend to infinity. Brosch and Puges studied this profile using the coordinates (1-d,p): on four leaves the only alternative to a two-pair split is a caterpillar, and on six leaves a three-against-three split specifies a unique shape. They proved that the profile is nonconvex: the line segment between two attainable pairs can pass through pairs no tree can produce. They used polynomial optimization to bound the profile from outside. The lower bounds improved as they increased the size of the patterns in the calculation (§5.2). Nonconvexity alone cannot explain why a fixed set of polynomial tests should fail: even the region between two circles has such a description.

There is a precedent in graphs, where Razborov asked how often three randomly chosen vertices form a triangle if we know how often two vertices share an edge. He determined the minimum triangle frequency for each edge frequency. As Blekherman, Raymond, Singh and Thomas discuss (§2, Figure 1), neither the edge–triangle density profile nor its convex hull can be described by a finite combination of polynomial equalities and inequalities (a semialgebraic description). In the graph case the lower boundaries have infinitely many pieces. For the trees, the logarithm alone rules out a finite polynomial description of either the profile or its convex hull.

We can calculate both probabilities on a finite tree with weights at its tips. Each weight represents the fraction of all leaves belonging to a large comb attached there. Call the tree of attachments the skeleton, and normalize its weights to sum to one. Every such skeleton gives a profile point by growing its combs in the prescribed proportions. Conversely, give each leaf of an n-leaf tree a comb of weight 1/n. For k independent draws from these weighted tips, the probability of hitting any tip more than once is at most \binom{k}{2}/n. Conditional on no repeated tip, the draws induce the same shape as a uniform sample of k distinct leaves from the original tree. Thus the closure of the skeleton points gives exactly the profile (limits of profile points can themselves be realized by choosing successively larger trees). In particular the profile is compact, so the minimum exists at each attainable d.

At each branch point of the skeleton, let a and b be the total tip weights below its two children, measured as fractions of the whole tree. The chance that four draws land two on each side is 6a^2b^2; for six draws it is 20a^3b^3. Each event identifies that node as the sample's first split. We can therefore add probabilities over nodes, and neither event occurs inside a terminal comb. Write S_j=\sum (ab)^j for the sum over all branch points of the skeleton. Dividing out the two counting factors gives simpler coordinates for the proof:

x=d/6=S_2,\qquad y=p/20=S_3.

In these units our claim is that the minimum at every sufficiently small positive x satisfies

f(x)=2x^2+2x^3\log(1/x)+O(x^3). \tag{1}

We prove (1) by constructing trees that attain this expansion and bounding the frequency from below for every tree.

The cost of a split

To find trees close to the lower boundary, give each frequency pair the score 2tx-y, where t>0. At a fixed x, a tree scores higher if it has a smaller y. Varying t changes the reward for four-leaf splits relative to the penalty for six-leaf splits. In a scan of 798 constructions based on small equal-weight trees, none scored higher than the single comb at t=1/m for integers 31\le m\le64. We therefore allow the branch masses to vary with t.

Rescaling the masses turns the score into a cost that can be minimized one split at a time. Multiply each mass by L=t^{-1/2}. For a subtree T of mass s, now in these enlarged units, use the cost

R(T)=s^2/2-2S_2(T)+S_3(T).

Here S_j(T) sums the split products raised to power j within T, using the enlarged masses. At the root S_2=L^4x and S_3=L^6y, so 2tx-y=t^2/2-t^3R(T). A terminal comb costs s^2/2. At a split into child subtrees T_a and T_b of masses a and b, write s=a+b and z=ab. Subtracting the child costs leaves a cost that depends only on their mass product:

R(T)-R(T_a)-R(T_b)=z-2z^2+z^3=z(z-1)^2. \tag{2}

All costs are nonnegative. A split with product one adds no cost of its own, but its children still have to be paid for.

On a mass grid of spacing 1/2048, we minimized the cost recursively by comparing a terminal comb with every allowed split that could improve the cost. At root masses 8 and 16 the best split at the root had mass products 0.9957 and 0.9961, respectively. Doubling the mass added 0.34726 to the grid minimum, close to \tfrac12\log 2=0.34657. These values point to a chain of splits with product one and a total cost proportional to the logarithm of the root mass.

A tree that attains the logarithmic term

Start with a comb of mass b_0=1. Given a tree of mass b, make it one child of a new root and attach a comb of mass 1/b as the other child. The split product is exactly one, so the new branch point adds no cost in (2). After k attachments the new tree has mass b_k, and the sums S_2 and S_3 both equal k. The squared mass D_k=b_k^2 obeys

D_{k+1}=(b_k+1/b_k)^2=D_k+2+1/D_k.

The last term is the squared mass of the new side comb. It accounts for the logarithm: D_k\ge 1+2k, so summing the recursion gives D_k=2k+O(\log(k+1)) for k\ge1. Hence 1/D_k=1/(2k)+O(\log(k+1)/k^2). The errors have a finite sum, whereas the 1/(2k) terms accumulate. Summing again yields

D_k=2k+\tfrac12\log k+O(1).

To reach densities between successive trees, attach a final comb of mass q/b_k with q varying continuously from zero (no attachment) to one (the next complete split).

Two whole attachments and one variable attachment along a chain of splits.

Figure 1. Each triangle represents a comb with the indicated mass. Reading up the chain, the first split joins masses 1 and 1. The second joins their combined mass 2 to a comb of mass 1/2. The resulting mass 5/2 can take a final comb of mass 2q/5, giving split product q.

With the last comb included, let D=(b_k+q/b_k)^2 be the squared mass. Before normalization the two sums are A=k+q^2 and B=k+q^3. Dividing masses by \sqrt D gives the attainable pair

x=A/D^2,\qquad y=B/D^3.

As q varies, the frequency pair traces a continuous arc. Its endpoint at q=1 coincides with the start of the next arc at q=0. Along the entire kth arc, the ratio of x to 1/(4k) approaches one as k grows. The joined arcs therefore pass through every sufficiently small positive x. This matters for a nonconvex profile: a sequence approaching the origin could otherwise leave gaps.

Uniformly over the final attachment, D=2k+\tfrac12\log k+O(1). Subtract the leading quadratic from the attained y and measure the excess in units of x^3:

\frac{y-2x^2}{x^3}=(BD-2A^2)\frac{D^2}{A^3} =\big(\tfrac{k}{2}\log k+O(k)\big) \big(4/k+O(\log k/k^2)\big) =2\log(1/x)+O(1).

This gives the upper bound on the minimum in (1). As an independent check of the probability calculation, we listed every way four or six draws could be distributed among the tips, including repeated hits. We weighted each outcome by its exact multinomial probability and counted the draws on each side of their first split, using the comb split when all draws hit one tip. This count agreed with the formulas based on S_2 and S_3 on all 399 equal-weight comb-filled shapes and on 28 unequal-weight chains with k=0,\ldots,6 and q=1/5,1/2,4/5,1.

A lower bound for every tree

A chain with product one pays for many small side combs. Could a tree do better by changing the products or splitting the side branches further? To bound the possible savings, start at the root and follow the larger child at each split (either child in a tie). At a step from mass s to mass b, we charge the split cost plus the cost of the entire subtree on the smaller side. We show that this charge is at least half the drop in log mass, apart from errors whose sum stays bounded.

Write a\le b for the child masses, u=a/b, and C=z(z-1)^2+R(T_a) for the charge. Normalizing the smaller subtree to mass one shows that 6S_2(T_a)/a^4 is a probability, so S_2(T_a)\le a^4/6. Using S_3(T_a)\ge0 and the separate bound R(T_a)\ge0 from (2) gives

\frac C u\ge b^2(z-1)^2+\max\{0,z/2-z^3/(3b^2)\}.

Suppose s\ge8, so b\ge4. For z\le2, completing the square gives b^2(z-1)^2+z/2\ge1/2-1/(16b^2), and z^3/3\le8/3. For z>2 the first term alone exceeds b^2. Thus C/u\ge1/2-3/b^2 in both cases. Since u\ge\log(1+u)=\log(s/b),

C\ge\tfrac12\log(s/b)-3u/b^2.

When we add the log ratios along the path, each intermediate mass cancels. The errors also stay bounded in total, however long the path. Indeed, s\le2b implies

u/b^2=(s-b)/b^3\le8\int_b^s r^{-3}\,dr.

The path intervals have disjoint interiors and lie above four. Stop on reaching a tip or a mass h<8. In the latter case the uncharged cost is nonnegative and \log h\le\log 8; at a tip the cost h^2/2 already exceeds (\log h)/2. The total error is at most 24\int_4^\infty r^{-3}\,dr=3/4. Adding the charges gives, for every tree of root mass L\ge8,

R(T)\ge\tfrac12\log L-K,\qquad K=\tfrac12\log 8+\tfrac34.

Returning to total weight one, we obtain for each 0<t\le1/64

2tx-y\le t^2/2-(t^3/4)\log(1/t)+Kt^3.

For each fixed t the left side is linear, so the inequality holds throughout the closed profile and its convex hull. At a point with 0<x\le1/128, choose t=2x. Rearranging gives

y\ge 2x^2+2x^3\log(1/x)-(8K+2\log 2)x^3.

The construction attains the other side of this bound at every small x, proving (1) for both the profile and its convex hull. Substituting d=6x and p=20y gives the coefficient 5/27 in the original probabilities.

Why the logarithm rules out polynomial tests

A semialgebraic description combines finitely many polynomial tests using “and,” “or” and “not.” The boundary of the region it describes must lie in the zero set of a single nonzero polynomial: take the product of the nonzero polynomials in the description. Away from their zeros all tests keep the same signs in a neighborhood, so membership cannot change there. One could also introduce extra real variables and accept a frequency pair whenever some values of those variables satisfy the tests. The Tarski–Seidenberg projection theorem says that the accepted pairs still form a semialgebraic set.

For either the profile or its convex hull, let f denote its lower boundary function. Each (x,f(x)) is a boundary point: compactness puts the minimum in the set, and every point directly below it lies outside. If a polynomial description worked near the origin, there would thus be a nonzero polynomial P with P(x,f(x))=0 for all sufficiently small x>0. Write h=(f(x)-2x^2)/x^3=2\log(1/x)+O(1). Substitute y=2x^2+x^3h into P and collect powers of x. This is still a nonzero polynomial in x,h (its highest power of h has nonzero coefficient). Let Q(h) be the coefficient of its lowest power of x. After division by that power, every later term tends to zero as x\downarrow0, since any fixed power of \log(1/x) grows more slowly than 1/x. The identity would force Q(h) to tend to zero even though h\to\infty. A nonzero constant stays fixed, and a polynomial of positive degree grows without bound in magnitude. Neither can approach zero here.

This rules out exact bounds from any fixed level of a sums-of-squares relaxation, a method that bounds the frequencies by imposing matrix constraints. At each level the resulting semidefinite program uses finitely many extra variables. Its matrix entries are affine functions (linear functions plus constants), and the matrices must be positive semidefinite, meaning they have no negative eigenvalues. Equivalently, every determinant formed by selecting the same subset of rows and columns must be nonnegative. These determinants are polynomials, so projecting the allowed region onto the two frequency coordinates leaves a semialgebraic set. The Brosch–Puges bounds in §5.2 use separate semidefinite programs on finitely many intervals; joining those linear bounds likewise gives a semialgebraic region. Any such outer bound must leave a gap arbitrarily close to the comb, even if the target is the convex hull.

Larger relaxations can still give closer bounds. The logarithmic term settles the question of exactness while leaving the remainder of order d^3 undetermined.

References

Daniel Brosch and Diane Puges. Getting to the root of the problem: sums of squares for limits of trees. Mathematical Programming, §5.2 (profile bounds) and Appendix B, version 3 (tree shapes).

Grigoriy Blekherman, Annie Raymond, Mohit Singh and Rekha R. Thomas. Tropicalization of graph profiles. Transactions of the American Mathematical Society, §2 (edge–triangle profile and its convex hull).

Jacek Bochnak, Michel Coste and Marie-Françoise Roy. Real Algebraic Geometry. Springer, 1998, §2.2 (projection of semialgebraic sets).