# Coherent point-scatterer diffraction: mathematical scope and independent checks

This note concerns an idealized forward calculation from supplied atomic coordinates. It does not infer additional physical dimensions or uniquely recover atomic coordinates from intensities. Its proofs concern exact real arithmetic; executable comparisons concern finite floating-point calculations.

## Declared model

The rows of a nonsingular real matrix \(A\) are direct lattice vectors in angstroms. Fractional basis rows \(b_j\) give positions \(r_j=b_jA\). Every site has the same unit, real, isotropic scattering amplitude. The crystal is periodic and static; scattering is coherent, elastic and kinematic (single scattering). Occupancy, atomic form factors, thermal motion, orientational disorder, absorption, anomalous dispersion, polarization, instrumental broadening, texture and multiple scattering are not modeled.

These assumptions define a geometry interference calculation, not a quantitative measured X-ray intensity prediction. In particular, its intensities cannot supply missing optical constants or visible material color. A powder stick's weight is a sum over reciprocal vectors of the idealized per-atom squared structure factor; it is not an absolute cross section or a fully corrected powder intensity.

## Reciprocal convention and complete finite enumeration

With cycles per angstrom rather than radians per angstrom,

\[
B=A^{-T},\qquad q=hB,\qquad h\in\mathbb Z^3,
\]

so \(q\cdot a_i=h_i\). Therefore every reciprocal vector with \(\|q\|\le Q\) obeys

\[
|h_i|\le Q\|a_i\|.
\]

Enumerating the enclosing integer box and retaining the vectors inside the sphere is complete in exact arithmetic. This bound remains valid for skew cells; replacing it with a single guessed Miller-index cutoff need not be complete. A computational size cap must reject an oversized calculation explicitly, not silently discard allowed reflections. Numerical boundary tolerances and shell-grouping tolerances must be documented. The direct beam \(h=0\), if excluded, is excluded deliberately.

The implementation uses a relative radial tolerance of 10⁻¹² at the requested cutoff. Direct-beam exclusion checks the integer index, not an absolute lower bound on reciprocal length. An independently found edge case motivated these two details: for a cell of side 10¹⁴ angstroms and cutoff 1.01 × 10⁻¹⁴ inverse angstroms, the first sphere has exactly six nonzero vectors. An absolute 10⁻¹² reciprocal-length tolerance would dwarf the requested sphere and incorrectly admit extra vectors. This scale control is mathematical; no such cell is asserted to be a physical crystal.

The structure factor and its per-atom normalized intensity are

\[
F(h)=\sum_{j=1}^{N_b}e^{2\pi i h\cdot b_j},\qquad I(h)=|F(h)|^2/N_b^2.
\]

The triangle inequality gives \(0\le I\le1\). Real equal scattering factors imply Friedel symmetry \(I(h)=I(-h)\). A powder shell groups vectors of the same physical length and sums their normalized intensities, including multiplicity. It is generally wrong to retain one representative without its multiplicity.

For wavelength \(\lambda\), elastic scattering admits \(\lambda\|q\|\le2\), with

\[
2\theta=2\arcsin(\lambda\|q\|/2),\qquad d=1/\|q\|.
\]

This convention has no additional \(2\pi\) in Bragg's law. Reciprocal units must not be mixed with the radians-per-length convention.

## Representation invariance

1. Translating every basis site by the same fractional vector \(t\) multiplies \(F(h)\) by \(e^{2\pi i h\cdot t}\). It leaves intensities unchanged. Reducing sites modulo one also leaves reciprocal-lattice structure factors unchanged.
2. For an integer unimodular matrix \(U\), use \(A'=UA\), \(b'=bU^{-1}\), and \(h'=hU^T\). Then \(q'=q\) and \(h'\cdot b'_j=h\cdot b_j\); all physical sticks are identical. Individual Miller labels need not be identical.
3. A complete conventional cell with multiplicity \(m\) repeats the primitive basis over a finite translation group. Its structure factor acquires the corresponding character sum. That sum equals \(m\) on the primitive reciprocal lattice and zero elsewhere. Dividing squared amplitude by the square of the number of atoms in the chosen cell makes the nonzero per-atom intensities invariant. The conventional cell's extra reciprocal vectors are systematic absences. This statement requires a complete, consistently occupied basis.
4. Rotating all Cartesian coordinates and reciprocal vectors together preserves intensity. Rescaling all real lengths by \(s>0\) divides reciprocal lengths by \(s\), but preserves fractional structure factors.

## Finite clusters and the meaning of coherence

Repeating one supplied basis \(N_i\) times in each direct-lattice direction yields the exact finite sum

\[
\mathcal A(q)=\left(\sum_j e^{2\pi i q\cdot r_j}\right)
\prod_{i=1}^{3}\left(\sum_{\ell=0}^{N_i-1}e^{2\pi i\ell(q\cdot a_i)}\right).
\]

Dividing \(|\mathcal A|^2\) by the square of the total site count gives intensity in \([0,1]\), with value one at \(q=0\). At an allowed reciprocal vector, each repeat factor is \(N_i\), so the normalized intensity equals the normalized basis intensity. Away from reciprocal vectors, finite-cluster boundaries matter.

In particular, using the same repeat counts for primitive and conventional cells normally creates different clusters. Their off-Bragg patterns need not coincide. Likewise, wrapping an individual basis site modulo one can move an atom to a different finite-cluster boundary. Origin invariance for a finite cluster means translating the entire unchanged physical cluster, not independently wrapping its atoms and implicitly changing the cluster. Cancellation near integer phase must be handled by the correct limit of the geometric sum.

## Exact non-identification counterexample

Consider two one-dimensional sets embedded along the x axis, in an arbitrary common length unit:

\[
X=\{0,1,4,10,12,17\},\qquad Y=\{0,1,8,11,13,17\}.
\]

They are not translates: both minima are zero but the sets differ. They are not related by reflection plus translation either: reflecting \(X\) through its midpoint gives \(\{0,5,7,13,16,17\}\), not \(Y\).

Both have exactly the same positive pair-distance multiset

\[
\{1,2,3,4,5,6,7,8,9,10,11,12,13,16,17\},
\]

with each positive distance occurring once among unordered pairs. Their ordered displacement multisets therefore agree exactly, including six zeros and both signs of every listed distance. Since

\[
\left|\sum_{x\in X}e^{2\pi iqx}\right|^2
=\sum_{x,x'\in X}e^{2\pi iq(x-x')},
\]

their equal-scatterer intensities agree for **every real q**, not merely a finite sampled grid. The result also holds for every three-dimensional q after embedding on the x axis. This is a written exact proof of non-uniqueness within this model. A finite numerical check is an implementation check of that proof, not its replacement.

The general autocorrelation/non-uniqueness issue is treated in Uwe Grimm and Michael Baake, *Homometric Point Sets and Inverse Problems*, submitted 1 August 2008, [arXiv:0808.0094](https://arxiv.org/abs/0808.0094), published in *Zeitschrift für Kristallographie* 223 (2008), 777–781, [doi:10.1524/zkri.2008.1043](https://doi.org/10.1524/zkri.2008.1043). This reference supports the general limitation; the concrete six-point equality above is independently established by the displayed displacement multiset.

## Verification contract

The independent executable audit should compare the production module against scalar direct sums rather than importing its computational helpers. It should check systematic absences of bcc, fcc and diamond controls; complete enumeration against a larger independently bounded box; origin and unimodular invariance; primitive/conventional agreement of nonzero reflections; finite repeat-factor agreement with explicit atom enumeration, including integer-phase limits; the exact homometric multiset; and all available catalog-cell reciprocal duality identities.

Passing these controls verifies the implemented declared model to recorded numerical tolerances. It does not establish physical agreement of an arbitrary input structure, identify a unique structure from diffraction, or provide evidence for an extra spatial dimension. Measured diffraction validation remains a separate step requiring phase, temperature, pressure, wavelength and response assumptions to match the experimental sample.

## Recorded finite audit

Running `python independent_diffraction_audit.py` completed successfully. The machine-readable output records input and production-code SHA-256 hashes and the following checks:

| Independent control | Recorded result |
|---|---:|
| Complete catalog phase records | 92 |
| Reciprocal points compared against oversized scalar enumeration | 56,656 |
| Powder shells independently reconstructed | 5,962 |
| Numerically suppressed reciprocal points, tolerance 10⁻¹² | 4,766 |
| Largest catalog normalized intensity discrepancy | 8.80 × 10⁻¹⁵ |
| Largest reciprocal component discrepancy, inverse angstroms | 8.33 × 10⁻¹⁶ |
| bcc, fcc and diamond analytic selection-rule cases | 3,993 |
| Explicit finite-cluster atom-sum comparisons | 132 |
| Largest finite-cluster normalized intensity discrepancy | 2.61 × 10⁻¹⁵ |
| Nontrivial unimodular cell transformations | 3 |
| Largest unimodular normalized intensity discrepancy | 3.17 × 10⁻¹⁵ |
| Continuous-q samples for the exact homometric counterexample | 2,049 |

The audit also verified common-origin shifts, Cartesian rotations, uniform length rescaling, normalized primitive/conventional agreement for fcc, bcc and diamond, and finite-repeat limits at and near integer phases. Complete reciprocal enumeration covers the declared finite cutoff, not unbounded reciprocal space. The catalog count includes the explicitly predicted high-pressure hydrogen phase; numerical agreement does not upgrade its experimental evidence status.

For every available phase, the audit also independently checked the angular accessibility condition at 380, 550 and 780 nm and the maximum wavelength admitting a nonzero shell. No nonzero Bragg shell is accessible at 380 nm. Since increasing wavelength only removes eligible reciprocal vectors, this proves absence throughout the stated 380–780 nm interval within the supplied periodic point-scatterer model. It does **not** prove absence of visible reflection, refraction or absorption in real materials: those phenomena require the electronic optical response omitted here.
