How many measurements determine a difference histogram?
William Mançon · AT.A8 and AT.A9

I retain the hypotheses of AT.A7: nonempty masks of known sizes at distinct prime periods. For odd p let n=(p−1)/2 and h_j=B_p(j)=B_p(−j), 1≤j≤n. The integer coordinates satisfy Σ h_j=t_p(t_p−1)/2.

Observation count. Of the n means indexed by v modulo sign, I may omit any one. Their mean is known by AT.A2, and AT.A7 gives injectivity on the zero-sum subspace. The remaining n−1 rows and the prescribed sum therefore yield an invertible real linear system. Dimension n−1 is the lower bound for linear recovery on this entire affine space. At p=3 the sum alone suffices.

Acquisition. The power spectrum of every real mask is even. Replacing u_q by −u_q on any subset of the components preserves all Parseval factors and V(u). For each fixed p-component it suffices to average over sign representatives at each other odd prime, with one choice at 2. One representative suffices when a component has a constant spectrum on nonzero frequencies, in particular for a singleton, co-singleton or full mask. Multiplying these counts bounds the cost when one observation means one exact variance. Measuring each such variance has its own cost.

Normalisation. Put R=∏q and K(h)=(R²−1−6h(R−h))/(12R²) for 0≤h<R. For q≠p the mean local factor in difference coordinates is t_q when q divides h, and t_q(t_q−1)/(q−1) otherwise. In row v I sum K(h) times these factors into C_vj when ±(h/v) modulo p equals j, including zero. Then V_p(v)=t_p C_v0+Σ_j C_vj h_j. AT.A7 checked this direct-space Green kernel against integer prefix counts.

Stability. For p≥5 let M consist of the n−1 retained rows of C followed by a row of ones. The final right-hand side is the exact sum. Let D consist of the first n−1 columns of M⁻¹ and L=max_j Σ_i |D_ji|. Errors bounded by e in every retained mean yield reconstruction error at most L e per coordinate. Rounding recovers all integer differences when e<1/(2L). A signed perturbation along a maximal row attains the operator bound. At equality a coordinate can reach a half integer. This models separately bounded adversarial errors in the means.

Finite dictionary. At p=13 with four open positions and an auxiliary period of five with three open positions, I enumerate masks translated to contain zero and obtain 34 different histograms. Means at v=1 and v=2 distinguish all of them. Every single class fails to distinguish some pair. For v=1, {0,1,4,6} and {0,1,5,6} give 1938/4225 with different histograms. I check the two readings of all 34 histograms by scanning prefixes. For these two classes the minimum image distance in the maximum norm is 9/845. Nearest-neighbour decoding succeeds under errors strictly below 9/1690. The midpoint of a closest pair shows sharpness against adversarial real errors. Five means with the linear inverse tolerate errors strictly below 171/5915. The two-mean method trades noise tolerance and dictionary construction for reduced acquisition, at most four exact raw variance observations here.

The Fourier ingredients and matrix norm principle are classical. Turyn starts from character sums of masks, Okada considers cotangent derivatives at rational arguments and Torquato and Stillinger examine count fluctuations in windows. My observation operator uses invertible dilations of a finite CRT product. Priority for that operator requires specialist review. Records AT.A7–AT.A9 give references and executable checks.
