The Cross-Alignment Matrix
Cite this paper
A. S. Petty, The Cross-Alignment Matrix, DOI: 10.5281/zenodo.21844820.
Abstract
An average digit-match score does not record which fractions agree. For a positional base and denominator , we define the synchronized cross-alignment matrix on the fractions . Its entries compare every pair at one common long-division depth and across one common periodic window. An explicit one-hot realization makes a positive semidefinite Gram matrix.
For , the pairwise alignment is its mean off-diagonal entry. The reference alignment is recovered from the first row after adding the terminating-fraction correction. For a prime , is the identity exactly when is digit-partitioning. For such a prime and with -supported, the matrix is an exact direct sum of all-ones blocks. Its rank is when and when .
For an arbitrary prime , multiplicative-coset ordering turns into a matrix of circulant blocks. Fourier transformation along the orbit coordinate reduces the spectrum to small Hermitian Gram matrices. The primitive-root case is one circulant whose eigenvalues are the discrete Fourier transform of the cyclic digit-equality autocorrelation. Exact decimal examples give the two levels at and nine levels from to at .
Where the Agreement Lives
At , distinct fractions in the same multiplicative orbit never match at a synchronized decimal position. Partial matches occur between the two orbits. In multiplicative-orbit order, their comparison matrix is where is the unit cyclic shift on six positions. Two six-element orbits meet at one relative shift, and the spectrum has only the two levels and . A scalar records how much agreement survives. The matrix records where it lives.
The fractional field carries three scalar summaries. Reference alignment compares every member with . Pairwise alignment averages over distinct unordered pairs, and is their signed difference. None by itself records which fractions agree, whether agreement gathers into blocks, or which independent modes carry it.
Coordinatewise equality is Hamming similarity. Cyclic Hamming correlation is classical in sequence design [1], and Kak and Chatterjee apply it to full-period reciprocal digit sequences [2]. Repetend multiplication and its multiplicative-orbit organization are likewise established arithmetic [3]. The Gram realization below is standard linear algebra [5], and Fourier diagonalization of circulant blocks is classical [4]. The result here is their exact assembly over the complete denominator ensemble. It recovers the three scalar statistics, characterizes the identity and supported block cases, and reduces every prime matrix to explicit coset Fourier fibers without a primitive-root hypothesis.
The cross-alignment matrix keeps every synchronized pairwise comparison. Pairwise alignment is its mean off-diagonal entry. Reference alignment uses one marked row together with the terminating-fraction convention, and focused alignment is the residual between those two statistics. The matrix therefore restores the geometry compressed by the averages, while a termination marker completes their recovery.
All comparisons begin after one common clearing depth and use one common periodic window. No fraction is restarted at an independently chosen repetend phase. Here “fractional field” is a name for the displayed finite family; no algebraic-field structure is asserted.
The Synchronized Matrix
Fix . For , write where is the largest divisor of supported on the primes of , and . Thus divides a power of . If , choose one clearing depth with and put .
Definition 1. When and , let be the base- digit of at the -th position after the common clearing depth . The synchronized cross-alignment matrix is the matrix defined by If , every fraction terminates and , where denotes the all-ones matrix. In every case .
Increasing shifts every nonterminating tail by the same number of positions. Because each reduced period divides , the length- equality pattern is only rotated. The matrix is therefore independent of the chosen clearing depth.
Proposition 2 (Gram realization). For every , the matrix is real symmetric, positive semidefinite, and has unit diagonal.
Proof. When , the assertion follows from . Suppose . In the orthogonal direct sum assign the vector to every terminating fraction. For a nonterminating , assign The inner product of two nonterminating vectors is their synchronized digit-match proportion. A terminating vector is orthogonal to every nonterminating vector, while two terminating vectors have inner product one. Thus , with in the terminating case. Hence is a Gram matrix. ◻
Recovery of the Scalar Statistics
Let , and let denote the -component all-ones vector. For , pairwise alignment is the mean off-diagonal entry given by The statistic is undefined because the field contains no pair of distinct elements.
If , a fraction terminates exactly when , so exactly fractions terminate. The reference fraction is nonterminating, so its matrix row assigns zero to those mixed pairs, whereas the reference-alignment convention assigns them score one. Consequently, If , then and for . In either case where is defined, focused alignment is recovered as . Thus the matrix together with the termination marker recovers all three scalar statistics; the unmarked matrix alone does not determine the terminating correction.
Prime Matrices and Multiplicative Orbits
For a prime , define the digit function
Theorem 3 (Identity characterization). Let be prime. The following conditions are equivalent.
;
is injective on ;
.
Proof. If the digit function is injective, two distinct initial residues remain distinct after multiplication by every power of . Their synchronized digits therefore differ at every position, so all off-diagonal matrix entries vanish. Conversely, if for distinct residues , then the fractions and match at the first position and . Thus the matrix is the identity exactly when the digit function is injective. If , then residues enter only digit bins, so injectivity fails. Suppose . When , . Otherwise , and for , so . The digit function is injective in both cases. ◻
The next theorem gives the exact meaning of multiplicative-coset structure in the matrix.
Theorem 4 (Coset–Fourier reduction). Let be prime, put and , and choose representatives for the cosets of in . Order the nonzero residues as In this ordering, is an matrix of circulant blocks.
More precisely, for define Fourier transformation in the exponent coordinate reduces to the direct sum of the Hermitian matrices Consequently, the spectrum of is the union, with multiplicity, of the spectra of .
Proof. At synchronized position , the row indexed by has digit Consequently, After replacing by a new index, this expression depends on modulo . Every coset-to-coset block is therefore circulant. The length- Fourier transform diagonalizes all these blocks simultaneously [4]. Taking the Fourier transform of the displayed cross-correlation gives the stated matrix . For each , is the Gram matrix of the vectors so it is Hermitian and positive semidefinite. The simultaneous Fourier decomposition proves the spectral union. ◻
Corollary 5 (Primitive-root spectrum). If is a primitive root modulo , then and is permutation-similar to one circulant matrix. Write , and let Its eigenvalues are the discrete Fourier transform of the normalized cyclic digit-equality autocorrelation.
Proof. This is the case of Theorem 4. Its first row is The second identity is the one-vector specialization of the formula for . ◻
The digit channels record equality, rather than numerical products of digit values. Accordingly, the displayed power sum is the sum of the channel powers, not the power spectrum of the digits read as one numerical signal. For example, the six distinct digits of give normalized equality autocorrelation and six eigenvalues equal to . This is a flat equality spectrum of a deterministic periodic sequence.
When , the theorem gives two eigenvalue branches at every Fourier frequency. It does not force two global eigenvalue levels; the collapse at below is special.
Proposition 6 (Two exact decimal spectra). In base , the matrix has eigenvalues and , each with multiplicity six. The matrix has exactly nine distinct eigenvalues, with minimum and maximum .
Proof. For , the two multiplicative-coset digit words are Each word has distinct digits. Their only shared digits are and , and both align at relative shift three. If is the unit cyclic shift on six positions, then Write , where Since and , the eigenvalues of are and , each six times. This gives .
For , the primitive-root digit word is Its equality autocorrelation is at shift zero, at shifts , and zero elsewhere. Corollary 5 therefore gives For , the nine values are They are distinct because ; conjugate Fourier frequencies supply the remaining multiplicities. ◻
Block Structure
Proposition 7. Let be prime with , and let be -supported. Then is permutation-similar to where denotes an empty block. If , then If , then and its spectrum is
Proof. Choose with and put . Since , is invertible modulo . The nonzero multiples of terminate and form the block . Every other numerator begins after depth at a nonzero remainder . Each of the nonzero remainders has exactly numerator representatives.
Members of one remainder class have identical synchronized digits. Members of different classes remain at distinct remainders at every position, and digit-function injectivity forces distinct digits. This proves the direct-sum formula. A nonempty has one eigenvalue and zero eigenvalues. Reading the ranks and multiplicities from the blocks gives the two cases above. ◻
The prime field has no terminating block. Once , that block supplies the additional rank-one direction. Further growth of enlarges only the null space inside the synchronized classes.
Pairwise Geometry and the Spectral Question
The matrix records the full synchronized pairwise geometry. is its global off-diagonal average. The marked reference row and the terminating correction recover , after which is their signed difference. At prime level, the identity matrix characterizes digit partitioning exactly. For supported lifts , the block theorem shows precisely which new directions are created and which merely enlarge the kernel.
Theorem 4 reduces every prime matrix to finite Hermitian Fourier blocks. For composite rough parts, additional orbit and period interactions enter the matrix. How much of the prime spectrum can the digit-bin geometry reveal before the full matrix is constructed?
References
[1]A. Lempel and H. Greenberger, Families of sequences with optimal Hamming-correlation properties, IEEE Trans. Inform. Theory 20 (1974), no. 1, 90–94. https://doi.org/10.1109/TIT.1974.1055169.
[2]S. C. Kak and A. Chatterjee, On decimal sequences, IEEE Trans. Inform. Theory 27 (1981), no. 5, 647–652. https://doi.org/10.1109/TIT.1981.1056394.
[3]N. J. Armstrong and R. J. Armstrong, Some properties of repetends, Math. Gaz. 87 (2003), no. 510, 437–443. https://doi.org/10.1017/S0025557200173619.
[4]P. J. Davis, Circulant Matrices, 2nd ed., Chelsea, 1994.
[5]R. A. Horn and C. R. Johnson, Matrix Analysis, 2nd ed., Cambridge University Press, 2013. https://doi.org/10.1017/CBO9781139020411.