Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Five points: the return of point 3

Begin by counting different bits

Take five binary strings, indexed :

The number of positions where two strings differ is their Hamming distance. For example, differ only in position four, so their distance is 1; differ in four positions, so their distance is 4. These counts satisfy the triangle inequality: wherever two endpoints differ, an intermediate string must differ from at least one endpoint.

The full distance table is

Set and scale every distance to obtain . With , the similarity becomes . Although logarithms occur in the distances, every similarity is rational. The strict comparisons below therefore need no floating-point approximation.

A binary coordinate difference has square 0 or 1, so . Multiplying each by makes the ordinary Euclidean distance between images equal to . This proves negative type.

The matrix is also positive definite: for every nonzero real vector . This guarantees a unique solution to each linear solve. To see why, consider all binary strings of length five. Each bit contributes the matrix , whose eigenvalues and are positive. The full similarity matrix is the tensor product of five such matrices; its eigenvalues are products of those positive numbers. Selecting a subset of strings amounts to setting all other vector coordinates to zero, so every nonempty principal submatrix remains positive definite. This is the manuscript’s written argument.

Remark 2.1 (Manuscript Theorem 1: the full five-point certificate)

The metric above is of negative type, and every nonempty principal submatrix of is positive definite. Deletion returns, after two solves,

However, the feasible probability

satisfies . Thus the output is suboptimal. This is the complete manuscript statement; the Lean theorem below cites its precise universal-correctness refutation without treating every clause of this remark as the same declaration.

What do the two solves remove?

The first weighting is

Its denominator is positive, so the signs are . The algorithm simultaneously removes points 2 and 3, retaining . The second weighting, extended by zero outside this set, is

The three retained weights are positive and total . Normalizing gives above. Since the first solve has negative entries and the second is entirely nonnegative, this is indeed the first stop. Lean counts iterations from zero, so this stop is , after two solves.

How can these numbers be checked? Multiplying by must give five ones. Multiplying the three nonzero entries of by must give three ones. Positive definiteness ensures that these are the unique solutions.

Why does moving one thousandth help?

Write . On retained points, . But deleted point 3 satisfies

The value is the average similarity of point 3 to the current distribution. It is below the current overall average, suggesting that adding this point will reduce repetition. Let : remove a fraction proportionally from the old distribution and give it to point 3. Expanding the quadratic gives

For small , the linear improvement outweighs the quadratic cost. At , the exact decrease is the positive rational number in Theorem 1. Both distributions are nonnegative and total 1. This is an explicit better candidate, rather than merely the output of an optimization program.

The missing optimality test

Remark 2.2 (Manuscript Proposition 2: optimality on a simplex)

Let the real matrix be symmetric positive definite, with and . Then minimizes if and only if whenever , and at every point . Positive definiteness also makes the minimizer unique. This reproves the finite positive-definite case of Bouafia’s Proposition 3; see manuscript Section 3.

For necessity, use the same probability-transfer direction: an optimum cannot immediately decrease along any , so . The average of these quantities with weights is zero, forcing equality wherever .

For sufficiency, any feasible probability satisfies . Expand:

If , positive definiteness makes the last term strictly positive, also proving uniqueness. Deletion checks balance on surviving points but misses the inequalities at deleted points.

Remark 2.3 (Manuscript Corollary 3: a unique optimum restores a point)

For the five-point example, the unique optimal probability and energy are

Point 3 has strictly positive probability despite its initially negative weight. This is manuscript Corollary 3; the Lean declaration refuting universal correctness does not separately cover this formula.

Direct rational multiplication gives

The residual is zero at the positive-probability points 0, 1, 3, 4, and strictly positive at the only omitted point, 2. The criterion above finishes the argument. Thus permanent exclusion of negative-weight points fails in general negative-type spaces. This does not contradict Bouafia’s tree-specific exclusion results or prove that five is the smallest possible counterexample.