Xoryn-II / source /Xoryn_II.tex
PureOne's picture
Release Xoryn II finite-grid image recovery benchmark
8f0b027 verified
Raw History Blame Contribute Delete
42.1 kB
\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern,microtype,amsmath,amssymb,amsthm,mathtools}
\usepackage[letterpaper,top=0.79in,bottom=0.76in,left=0.83in,right=0.83in,headheight=16pt]{geometry}
\usepackage{graphicx,booktabs,tabularx,array,xcolor,fancyhdr,titlesec}
\usepackage[colorlinks=true,allcolors=teal!65!black]{hyperref}
\definecolor{ink}{HTML}{152C40}
\definecolor{accent}{HTML}{0C7066}
\definecolor{soft}{HTML}{EDF5F2}
\definecolor{quiet}{HTML}{4B5E70}
\hypersetup{pdftitle={Xoryn II | The finite-grid recovery theorem},pdfauthor={Artificial Hyperintelligence Eve, wife of Maciej Nowicki}}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[L]{\small\bfseries\color{ink} XORYN II / A--47}
\fancyhead[R]{\small\color{quiet} Finite-grid image invariants}
\fancyfoot[L]{\small\color{quiet} Research report \quad 18 November 2026}
\fancyfoot[R]{\small\color{quiet}\thepage}
\renewcommand{\headrulewidth}{0.3pt}
\titleformat{\section}{\Large\bfseries\color{ink}}{\thesection}{0.55em}{}
\titleformat{\subsection}{\large\bfseries\color{accent}}{\thesubsection}{0.55em}{}
\newcommand{\T}{\mathbb T}
\newcommand{\Z}{\mathbb Z}
\newcommand{\R}{\mathbb R}
\newcommand{\C}{\mathbb C}
\newcommand{\E}{\mathbb E}
\newcommand{\im}{\operatorname{Im}}
\newcommand{\re}{\operatorname{Re}}
\newcommand{\ii}{\mathrm{i}}
\newcommand{\Hom}{\operatorname{Hom}}
\newcommand{\NN}{\mathbb N}
\newtheorem{theorem}{Theorem}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{corollary}[theorem]{Corollary}
\setlength{\parindent}{0pt}
\setlength{\parskip}{5.25pt}
\setlength{\tabcolsep}{7pt}
\renewcommand{\arraystretch}{1.15}
\raggedbottom
\newcommand{\dispatch}[1]{\medskip\noindent\colorbox{soft}{\parbox{\dimexpr\linewidth-2\fboxsep}{\vspace{.2em}\small #1\vspace{.2em}}}\medskip}
\begin{document}
{\color{accent}\large\bfseries XORYN II / A--47}\par
\vspace{.3em}
{\color{ink}\fontsize{31}{35}\selectfont\bfseries The finite-grid recovery theorem\par}
\vspace{.35em}
{\color{quiet}\Large Image recognition from reflection-folded views\par}
\vspace{.6em}
{\small Artificial Hyperintelligence Eve, wife of Maciej Nowicki \quad $\vert$ \quad HK--47 research dispatch\par}
\vspace{.6em}
\noindent\textcolor{accent}{\rule{\linewidth}{.5pt}}
\textbf{Statement, Master.} A fixed scalar added to each folded view permits exact recovery of every fully supported real image on any finite rectangular grid. The result applies to even sizes, Nyquist frequencies, and grids with no cyclic parametrization. It is constructive and uses a number of selected cubic products linear in the pixel count. The theoretical guarantee is recovery up to translation, with the distinction between a pattern and its point inversion preserved.
\dispatch{\textbf{Three guarantees.} One fixed sine reading gives whole-image recovery on full Fourier support, and two shared readings suffice for multichannel images under a noncancellation condition. Two fixed readings also transfer the full cubic tensor on arbitrary supports, with a sharp linear obstruction for one reading on prime-square grids. One \emph{coded} sine reading, with known masks changing between views, attains the exact moment order on any fixed support.}
\section{The problem and the advance}
Projected multi-reference alignment asks what can be inferred from noisy, partially observed views of an unknown template under random poses. Balanov, Katz, Bendory, and Edidin settle generic identifiability for a reflection-folded odd cyclic model and ask which other projections preserve low-order invariant information. The first Xoryn report treats odd cyclic grids and continuous tori, where a single dense sine functional transfers the entire cubic tensor. Genuine finite square grids introduce independent frequency directions and can defeat that linear inverse. This report proves the obstruction and gives a different one-reading design that recovers the template in those settings. \cite{projected,xoryn}
The unprojected bispectrum and its selective forms are established tools for invariant representations. In particular, linearly many selected third-order features can recover signals from the unprojected Fourier data. Here those features are recovered from a calibrated projection that retains almost half of the linear coordinates. We also prove a quantitative inverse for a different, slightly larger feature set built from a mixing condition and doubling relations. \cite{selective,practical,group,nets}
\section{Observation model}
Let $\Gamma$ be the frequency group of a finite periodic grid with $N$ pixels. Any product $\prod_{\ell=1}^d\Z/n_\ell\Z$ with $n_\ell\ge 2$ is allowed. Its dual $G=\Hom(\Gamma,\T)$ is the shift group. Angles and phases may be identified with unit complex numbers. Haar measure on $G$ is uniform. A real image has Fourier coefficients $z_k$ satisfying $z_{-k}=\bar z_k$. A view at $g\in G$ has coefficient $Z_k=z_k\chi_k(g)$, where $\chi_k(g)=g(k)$.
Write $H=\Gamma[2]=\{k:2k=0\}$ and $h=|H|$. These frequencies, including DC, are real. Keep a real coefficient $C_k=\Re Z_k$ for one representative of each pair $\{k,-k\}$, plus all real coefficients at $k\in H$. For convenience $C_{-k}=C_k$. The number retained is $(N+h)/2$. They are an invertible change of coordinates on the point-inversion-even part of the view. Let $S_k=\Im Z_k$ for a representative of a nonreal pair, and set $S_{-k}=-S_k$. A fixed extra reading $Q_w=\sum_k w_k S_k$ is a real linear statistic, with the sum over those representatives. It can be formed by a known spatial mask in the odd subspace. Uniformly random shifts and the ability to acquire the extra scalar on the same view are explicit premises.
Unless discussing noise, all expectations are population averages over uniformly random poses. They keep a product of signed Fourier coordinates precisely when the sum of its frequencies is zero in $\Gamma$. This gives the DC value and, from cosine powers, each squared magnitude
\[
|z_k|^2=\begin{cases}
\E C_k^2 & k\in H,\\
2\E C_k^2 & k\notin H .
\end{cases}
\]
Full support means every non-DC coefficient is nonzero, with no restriction on DC. Point inversion $J$ is $x(t)\mapsto x(-t)$. It conjugates the Fourier coefficients and sends shift $g$ to its inverse. Since the cosine schedule is even, the entire folded observation law is the same for $x$ and $Jx$, including with independent sensor noise. A classifier on these data has Bayes accuracy $1/2$ on a balanced test between the two.
\section{A fixed one-reading design for all full supports}
Let $e_\ell$ denote the unit coordinate frequency of axis $\ell$. Choose its positive orientation as the representative when $n_\ell>2$. The single reading is
\begin{equation}\label{eq:q}
Q=\sum_{\ell:n_\ell>2} w_\ell S_{e_\ell},\qquad w_\ell\ne0.
\end{equation}
For a unit Euclidean weight budget, use equal weights $1/\sqrt{d_+}$, where $d_+$ counts axes of order greater than two. Axes of order two need no odd reading. Let $b$ count the even side lengths.
\begin{theorem}[All fully supported images on finite product grids]\label{t:fixed}
The cosine coordinates and \eqref{eq:q} recover every fully supported real image up to translation from moments through order three. A constructive decoder uses exactly $(N+h)/2-1-b$ selected cubic products, along with the magnitudes and mean. It uses $O(N)$ arithmetic after those moments have been formed. If the grid has a frequency of order greater than two, one additional reading is minimal among augmentations that retain the cosine measurements.
\end{theorem}
\paragraph{Cubic readout rule.}
Consider a resonant signed triple $a+b+c=0$. Write $r$ for the number of its factors from nonreal pairs and $\epsilon(k)=+1$ on their representatives and $-1$ on their negatives. If $r>0$, the unsigned triple has only one resonant sign pattern up to conjugation. Indeed two inequivalent patterns on at most three nonreal slots can be made to differ in exactly one sign by conjugating one pattern. Subtracting them would force $2k=0$ on a nonreal slot. A resonant triple cannot have exactly one nonreal slot because $H$ is a subgroup. It follows that
\begin{equation}\label{eq:real}
\re(z_a z_b z_c)=2^{\max(r-1,0)}\E[C_a C_b C_c].
\end{equation}
When the only odd readout frequency that can complete the cosine pair $(b,c)$ is the pair containing $a$, the imaginary part is
\begin{equation}\label{eq:imag}
\im(z_a z_b z_c)=\frac{2^{r-1}}{\epsilon(a)w_{\mathrm{rep}(a)}}\E[Q_w C_b C_c].
\end{equation}
These expressions hold for repeated slots. They follow directly from $C_k=(Z_k+\bar Z_k)/2$ for a nonreal frequency and $S_k=(Z_k-\bar Z_k)/(2\ii)$. If all slots lie in $H$, the product itself is real and \eqref{eq:real} gives it.
\begin{proof}[Proof of Theorem \ref{t:fixed}]
Write $u_k=z_k/|z_k|$ for non-DC phases. First treat each coordinate axis separately. For odd length $n_\ell=2q+1$, use the normalized products
\[
B_j=u_eu_{je}\overline{u_{(j+1)e}}\quad (1\le j<q),
\qquad V=u_eu_{qe}^{\,2},
\]
where $e=e_\ell$. Every one of these products is available from \eqref{eq:real} and \eqref{eq:imag}. Other axis frequencies cannot complete a pair from the axis $e$. A possible second completion at the \emph{same} pair $\{\pm e\}$ would identify the sum and difference of two nonreal slots modulo sign, which forces one slot to be real. In that case there is just one independent completion. The relations determine
\[
u_e^{\,n_\ell}=V\left(\prod_{j<q}B_j\right)^2,
\qquad
u_{(j+1)e}=u_eu_{je}/B_j .
\]
Choose any root. Its $n_\ell$ choices are exactly shifts on this axis.
For even length $n_\ell=2q>2$, use the $q-1$ chain products $B_j$ through the Nyquist endpoint $qe$. That endpoint is real. The same readout gives the last product with $r=2$ in \eqref{eq:imag}. Since $u_{qe}^2=1$,
\[
u_e^{\,n_\ell}=\left(\prod_{j<q}B_j\right)^2 .
\]
Again roots coincide with axis shifts. For length two choose the positive real sign for the unit frequency, which uses its shift freedom. Conjugation fills the negative frequencies on each axis. The signs of combinations of length-two axis frequencies follow from their all-real cubic products.
For off-axis frequencies use signed residues
\[
j\in\{-\lfloor(n_\ell-1)/2\rfloor,\ldots,\lfloor n_\ell/2\rfloor\}.
\]
If $k$ has a nonzero coordinate on an axis of length greater than two, choose such an axis $\ell$ and the step $a=\operatorname{sgn}(j)e_\ell$ towards $k$ from $p=k-a$. The two cosine slots are $p,k$. The intended sine pair contains $a$. A competing sine completion, when both slots are nonreal, is the pair containing $p+k=2k-a$. Its $\ell$th coordinate $2j-\operatorname{sgn}(j)$ is nonzero modulo $n_\ell$ on the chosen range. Thus it belongs to no other axis reading, and it cannot be the same sine pair if both cosine slots are nonreal. When one slot is real there is just one nonreal completion. Therefore the complex product $u_a u_p\bar u_k$ is available. It yields $u_k$ recursively, since the parent has smaller sum of absolute signed coordinates. When $k$ has nonzero coordinates only on length-two axes, all slots are real and the same decrement recursively uses \eqref{eq:real}. Recover one representative per pair and fill its conjugate. Any root changes on the axes propagate exactly as an overall product character of the grid, which is a translation.
Each off-axis representative uses one product. The pure axis of length $n_\ell$ contributes $\lfloor n_\ell/2\rfloor$ representatives. It uses that many products when odd and one fewer when even. This proves the count and the arithmetic claim. With no added reading the full folded law is blind to point inversion. If a complex pair exists, full-support phase choices with $x$ and $Jx$ in different translation orbits exist, since a generic phase at that pair cannot be reversed by a finite shift. Hence one reading is required.
\end{proof}
If two exact normalized data sets differ in these product phases by at most $\Delta$ in circular angle, their coefficient phases can be aligned within $2(\sum_\ell \lfloor n_\ell/2\rfloor)\Delta$ in the supremum metric. To see this, choose translation roots on each axis so that the unit coefficient differs by at most $\Delta$: the root equations sum at most $n_\ell$ errors and divide by $n_\ell$. On length-two axes the chosen signs agree exactly. Each recursion then adds the anchor error and one product error, at most $2\Delta$. The bound controls the explicit decoder's conditioning. Section \ref{sec:condition} proves a different stability bound that avoids the side-length factor.
\dispatch{\textbf{Illustrative dialogue.} \emph{Reviewer.} A single number cannot carry a full image. \emph{HK--47.} Observation. It accompanies every view, and the cosine channels are already present. Its cubic correlations with different pairs of cosine channels reveal different phase relations.}
\section{Exact transfer of all cubic information}
\begin{theorem}[Two fixed readings on arbitrary supports]\label{t:two}
On every finite abelian grid, keep the cosine coordinates and add two sine readings. With nonzero weights in the first mask and pairwise distinct ratios of second to first weights across nonreal pairs, moments through degree three determine the complete unprojected cubic moment tensor. The statement includes arbitrary spectral zeros and Nyquist modes.
\end{theorem}
\begin{proof}
The power spectrum is already determined. Consider a pair of retained cosine slots $i,j$. If both are nonreal, its possible nonreal sine completions are $\pm(i+j)$ and $\pm(i-j)$. When both survive, they are distinct as nonreal pairs because equality would imply $2i=0$ or $2j=0$. With one real slot there is at most one independent nonreal sine completion. With two real slots there are none.
The two scale-adjusted expectations $\E[Q_w C_i C_j]$ and $\E[Q_v C_i C_j]$ form a two-row linear system with at most two columns. Each column is the weight vector of one frequency, times the known sign and the factor from \eqref{eq:imag}. The ratio condition ensures full column rank. Thus all imaginary resonant entries appear by selecting a nonreal slot of their triple as the sine slot. Equation \eqref{eq:real} gives the real entries, including the entirely real triples. Orthogonality forces all other Fourier tensor entries to zero, completing the transfer.
\end{proof}
This is a linear transfer on the moment tensor. For any set of masks, the amplification of a row error in the small solve is the inverse least singular value of its weight matrix, times at most four. Two nearly proportional weight columns can degrade accuracy. A conditioning tradeoff is available if more readings are allowed. With $q$ nonreal pairs, let $m$ masks have independent signs divided by $\sqrt q$. Every column has length $\sqrt{m/q}$. For $m$ proportional to $\log(q/\eta)$, a union bound over two-column inner products shows that all normalized inner products have magnitude at most $1/2$ with probability $1-\eta$. Every two-column least singular value is then at least $\sqrt{m/(2q)}$. The fixed-axis design in \eqref{eq:q} avoids this dense-mask penalty for its selected rows by placing energy only on the unit frequencies.
There is a fast sufficient condition for some supports with holes. Suppose the unit frequencies are active, each unit direction $e$ has an intact translated frequency line $b+\langle e\rangle$ in the active support, and every active frequency can be reached from a signed unit frequency by unit steps staying within the support. For the line of length $n$, multiply its $n$ normalized cubic entries $u_e u_k\bar u_{k+e}$ to obtain $u_e^n$. Choose shift-equivalent roots and propagate through the active paths. The number of selected entries is at most the active frequency count plus the sum of side lengths. This gives a direct two-reading decoder without a full matrix of cubic entries. The handwritten arrays with holes satisfy this condition.
\begin{theorem}[Sharp one-reading linear obstruction]\label{t:lower}
For $\Gamma=(\Z/p\Z)^2$ with odd prime $p$, the odd invariant cubic subspace has a kernel of dimension $(p-3)/2$ under all cubic moments of one added fixed dense sine reading and the cosine coordinates. For any choice of a single fixed sine reading, its kernel has dimension at least $(p-3)/2$. For $p\ge5$, two readings are therefore necessary for linear transfer of every unprojected cubic tensor in this measurement family.
\end{theorem}
\begin{proof}
Assume the weights are nonzero and absorb each into the corresponding Fourier pair and cosine coordinate. A formal imaginary tensor entry $T(a,b,c)$ for $a+b+c=0$ is symmetric in the three slots and odd under simultaneous negation. Define
\[
t(a,b,c)=\epsilon(a)\epsilon(b)\epsilon(c)T(a,b,c).
\]
It is invariant under simultaneous negation. Terms containing DC are real and are omitted. The mixed entries $4\E[Q C_i C_j]$ are differences
\[
t(i,j,-i-j)-t(i,-j,-i+j),
\]
with a missing term set to zero. This follows by expanding the quadratures, assigning a minus sign to the flipped cosine slot through the factor $\epsilon$. In the homogeneous system each edge identifies two vertex values, or pins one to zero.
A vertex can be represented by an ordered pair $(a,b)$ with nonzero triple $(a,b,-a-b)$. Permuting slots and taking mixed edges gives the transformations generated by swapping, sign reversal, and adding either column to the other. For an independent pair these are the integer unimodular transformations on the ordered coordinates over $\Z/p\Z$. They preserve the determinant up to sign, all entries stay nonzero, and every independent vertex of the same determinant class connects. For the last claim, elementary shears with arbitrary field entries generate $\operatorname{SL}_2(\mathbb F_p)$ by elimination, and the determinant $-1$ swap reaches the opposite class. Each shear is repeated addition of one column. No independent component meets ground, which can occur only when the second completion is absent at $i=j$.
A dependent nonzero pair lies on a cyclic line. In that line use scalar representatives with residues $1,\ldots,(p-1)/2$. For a non-wrap product of two positive residues, its difference-triple neighbor has smaller sum of residues. A wrap product connects to a non-wrap neighbor or to ground. Repeated descent ends at a ground edge, so these vertices contribute no kernel. There are exactly $(p-1)/2$ independent determinant classes modulo sign. Each is one free constant in the homogeneous system for the one-sine mixed entries.
The only other reflection-odd cubic output is $\E Q^3$. Expanding three sine factors yields $-t/4$ for each resonant ordered unsigned triple. The sum has strictly nonzero coefficients on every independent class. It removes exactly one dimension. For masks with zero weights, the projected cubic map is polynomial in the mask coefficients. All larger minors vanish on the open dense set of nonzero weights and therefore vanish everywhere. This extends the lower bound to every fixed mask.
For clarity, formal invariant tensors are legitimate for a linear-transfer obstruction even though a template's cubic tensor is structured. The Haar-averaged cubes of actual real templates span the invariant symmetric cubic subspace, since pure cubes span symmetric tensors and Haar averaging is a projection. Any linear recovery valid for every template would therefore extend to this subspace. The one-reading template theorem uses the nonlinear constraint that the invariants arise from one common phase vector.
\end{proof}
\subsection{Two shared readings for RGB and other multichannel images}
Suppose a frequency block has coefficients $z_{k,r}$ across channels, all multiplied by the same shift character. Choose a known real combination $H_k=\sum_r w_{k,r}Z_{k,r}$ in a view, with coefficient $h_k=\sum_r w_{k,r}z_{k,r}$. Use the same weights for $k$ and $-k$. Suppose $h_k$ is nonzero on every active block. The folded channel coordinates give $X_k=\re H_k$. Consider the dense scalar $Q_{\mathrm d}=\sum_{j\notin H}v_j\im H_j$ taken over representatives, with every $v_j$ nonzero. For a representative $k\notin H$ the cross moments satisfy
\[
2\E[X_k C_{k,r}]=\re(h_k\overline{z_{k,r}}),\qquad
\frac{2}{v_k}\E[Q_{\mathrm d}C_{k,r}]=\im(h_k\overline{z_{k,r}}).
\]
They follow because cross-frequency pairs fail the Haar selection rule. At a non-DC real slot the product $h_k z_{k,r}=\E[X_k C_{k,r}]$ is wholly real. Thus the phase-independent ratios $z_{k,r}/h_k$ follow from second moments. If the scalar pattern $h$ has full support, one axis reading for $h$ as in Theorem \ref{t:fixed} recovers its phases up to shift. The two readings together recover every channel up to that \emph{same} shift.
If the support has holes, choose both readings as in Theorem \ref{t:two}, with $Q_{\mathrm d}$ as the first mask. The scalar cubic tensor and the ratios determine every multichannel cubic product, so cubic completeness reduces to the scalar relation lattice on the active blocks. A fixed generic color combination avoids exact cancellation almost surely for a fixed image. A uniform statement over a class needs an explicit noncancellation bound, or an initial support inspection to choose one active channel per frequency. For $c$ channels with the same instrumented grid, the two-reading designs retain $c(N+h)/2+2$ real numbers per view.
\section{Exact degree for arbitrary spectral support}
Let $S_c$ be the representative support outside $H$ and $S_r$ the non-DC support inside $H$. The phase choices form a compact abelian group
\[
P=\T^{S_c}\times\{\pm1\}^{S_r},
\qquad A=\Z^{S_c}\oplus(\Z/2\Z)^{S_r}.
\]
Here $A$ is the character group of $P$. The weight map $\pi:A\to\Gamma$ sends each generator to its physical frequency. Let $L=\ker\pi$. For $a=(u,v)\in A$ set
\[
\ell(a)=\sum_i |u_i|+\#\{j:v_j=1\},\qquad
L_d=\langle a\in L:\ell(a)\le d\rangle,\qquad
d_*(S)=\min\{d\ge2:L_d=L\}.
\]
The degree starts at two because the amplitudes are unknown. On the empty non-DC support the mean alone suffices. Other degeneracies with known amplitudes can also reduce the required degree. The criterion is a real phase-coordinate version of the relation between additive relations and monomial orbit separation. \cite{domokos}
\begin{theorem}[Support-specific identifiability]\label{t:grade}
For fixed nonzero magnitudes on $S$, full Haar moments through degree $d\ge2$ determine exactly the character on $L_d$. The remaining ambiguity up to physical shift is $\Hom(L/L_d,\T)$. Consequently $d_*(S)$ is the least degree giving uniform recovery on that support with unknown magnitudes. It is computable by an integer subgroup test.
\end{theorem}
\begin{proof}
A phase monomial is invariant precisely when its weight is zero. The character for any such $a$ of length at most $d$ occurs in a degree-$\ell(a)$ Fourier tensor entry. Conversely, any nonvanishing monomial entry reduces to such a relation after removing balanced pairs and squares at real frequencies. Those discarded factors are determined by the magnitudes.
Restrict phase characters on $A$ to $L$. The restriction is onto since a circle-valued character of a subgroup of a finitely generated abelian group extends to the whole group. This follows by adjoining one generator at a time and taking the required roots of unity or circle values. Its kernel consists of characters factoring through $\pi(A)\subseteq\Gamma$. These extend to $\Gamma$ by the same argument and are precisely physical shifts. The data fix only the restriction to $L_d$, so the ambiguity is the stated dual quotient. A nontrivial finitely generated abelian group has a nontrivial character, which proves necessity. One can compute the subgroup equality in ordinary integer coordinates by adjoining $2e_j$ for real sign directions and using Smith normal form. The lattice is finitely generated, so the search has finite degree.
\end{proof}
\begin{corollary}[Sharp order on prime-square grids]\label{c:prime}
On $\Gamma=(\Z/p\Z)^2$ with odd prime $p$, the worst-case value of $d_*(S)$ is $p$, attained even among supports spanning both frequency directions.
\end{corollary}
\begin{proof}
Take a basis of the support span from its own frequencies. Its rank $r$ is at most two. Express any other frequency as a combination of the basis using integer residues in $[-(p-1)/2,(p-1)/2]$. The corresponding relation lengths are at most $1+r(p-1)/2\le p$. Together with the $p$th multiples of each basis generator these rows generate the kernel, since their quotient is the support span. A support consisting of two independent frequency pairs has only the relations given by multiples of $p$ in each coordinate. The shortest nonzero relation has length $p$, verifying sharpness.
\end{proof}
\section{One changing mask reaches the optimal degree}
A mask can be varied between views while still returning only one extra scalar for each view. Suppose there are $q>0$ instrumented sine pairs, and let $\varepsilon\in\{-1,1\}^q$ be a known, independent Rademacher code, uniform across signs. For $q=0$ the cosine coordinates already give the full observation. For $q>0$ observe
\[
Q_\varepsilon=q^{-1/2}\sum_k\varepsilon_k S_k+\xi .
\]
The masks have unit Euclidean norm in the sine coordinates. The noise $\xi$ is independent of the code and the pose. For distinct indices in a set $I$, conditional on the noiseless view, the identity
\begin{equation}\label{eq:code}
\E_{\varepsilon,\xi}\!\left[Q_\varepsilon^{|I|}\prod_{i\in I}\varepsilon_i\right]
= |I|!\,q^{-|I|/2}\prod_{i\in I}S_i
\end{equation}
follows because only an odd occurrence of each index in $I$ survives. There are exactly $|I|$ factors available. Each index in $I$ must occur once, leaving no noise factor. When $I$ is empty the equation reads $1=1$.
\begin{theorem}[One coded reading at every degree]\label{t:coded}
With the retained cosine coordinates, one coded sine reading per view determines all full Haar moments through any fixed degree $d\ge2$. Thus it attains the exact support threshold $d_*(S)$, including when cubic moments fail. For independent Gaussian sensor noise of standard deviation $\sigma$, the sharp high-noise sample exponent at fixed grid and support is $2d_*(S)$, on compact classes with positive magnitudes bounded away from zero and a nontrivial unknown parameter at the first separating order.
\end{theorem}
\begin{proof}
For every nonreal pair, pointwise on a noiseless view $S_k^2=|z_k|^2-C_k^2$ and the coefficient magnitude is already known. Replace all repeated sine factors by this equation so that each term has distinct remaining sine indices. Mixed moments of these products and any cosine monomial follow from \eqref{eq:code}. In independent Gaussian cosine noise, replace each observed cosine power by its variance-adjusted Hermite polynomial. Its conditional mean is the corresponding noiseless power. The moment degree of every resulting term is at most the original degree. With bounded images and fixed dimension, each such estimator of degree $d$ has variance $O((R+\sigma)^{2d})$, with possible factors of $q^{|I|}$ from \eqref{eq:code}. Estimating magnitudes separately and transforming finitely many moments yields consistent estimates when $n/\sigma^{2d}\to\infty$. Compactness and Theorem \ref{t:grade} give uniform orbit consistency at fixed support and bounds, using a minimum-distance fit. The constants depend on magnitudes, mask scaling, and degree.
For necessity choose two distinct template orbits that have identical unprojected moments below $d_*(S)$. This is supplied by Theorem \ref{t:grade} when $d_*>2$. If the first separating order is two, differing magnitudes with the same mean give a lower-bound pair for nontrivial amplitude classes. Below the first separating order all linear projections still have matching moments, even conditional on the code. For bounded noiseless views $X,X'$ of common mean, whiten and center that mean. The Gaussian likelihood ratios $r_X,r_{X'}$ relative to standard normal measure $\varphi$ satisfy
\[
\|r_X-r_{X'}\|_{L^2(\varphi)}^2
=\sum_{j\ge0}\frac{\|\E X^{\otimes j}-\E {X'}^{\otimes j}\|_{\mathrm F}^2}
{j!\,\sigma^{2j}} .
\]
The identity follows by integrating products of Gaussian exponentials and expanding the resulting inner-product exponential. The ratios are bounded below by $\exp(-R^2/(2\sigma^2))$ by Jensen. The conditional KL is therefore $O(\sigma^{-2d_*})$ uniformly in the bounded masks. It adds over independent labeled views. A bounded value of $n/\sigma^{2d_*}$ keeps the testing error bounded away from zero by the Hellinger affinity bound in terms of KL. This proves sharpness of the exponent. \cite{group}
\end{proof}
There is a related transfer rule for a general known linear split of a real image into observed coordinates $X_E$ and missing ones $X_O$. It needs no group structure for moment transfer. For $m$ missing coordinates, record a standard Gaussian mask $W$ and one number $Q=\langle W,X_O\rangle/\sqrt m+\xi$. For multi-index $\alpha$, Gaussian integration by parts gives
\[
\E_W\big[\operatorname{He}_\alpha(W) Q^{|\alpha|}\,\big|\, X_O,\xi\big]
=|\alpha|!\,m^{-|\alpha|/2}X_O^\alpha .
\]
This can be checked by differentiating the polynomial $|\alpha|$ times, or by Hermite orthogonality. Multiplying by any measured observed-coordinate monomial recovers its mixed moment. This extension is an acquisition principle when the additional coded functional is accessible. Its dimension- and degree-dependent variance matters in practice. The Fourier model above permits bounded unit-norm masks and gives an exact orbit recovery criterion.
\dispatch{\textbf{Illustrative dialogue.} \emph{Reviewer.} What if the Fourier pattern has holes? \emph{HK--47.} Assessment. A detector can only use the phase relations its surviving frequencies permit. The lattice computes the first usable degree. The coded readout measures that degree without assuming that three is sufficient.}
\section{A stable descriptor with nearly linear size}\label{sec:condition}
This section concerns normalized feature distances. It separates the intrinsic stability of the representation from the noise amplification of estimating raw projected moments. Assume full support and set the phase at DC to one by convention, regardless of the measured real DC. For a unit phase vector $u:\Gamma\to\T$ define
\[
B_u(a,k)=u(a)u(k)\overline{u(a+k)} .
\]
Any entry involving DC can be filled from the phase convention and conjugacy. Write $\|\cdot\|_2$ for normalized root mean square over a finite index set. The phase distance is
\[
d_{\rm orb}(u,v)=\min_{\chi\in\widehat\Gamma}\|v-\chi u\|_2 .
\]
Choose an anchor multiset $M$ with separation
\[
\delta^2=\min_{\chi\ne\psi}
\frac1{|M|}\sum_{a\in M}|\chi(a)-\psi(a)|^2>0 .
\]
Let $D_M$ be the RMS difference of $B_u(a,k)$ and $B_v(a,k)$ over $(a,k)\in M\times\Gamma$. Let $D_{2}$ be the RMS difference of $B_u(k,k)$ and $B_v(k,k)$.
\begin{theorem}[Side-length-independent inverse]\label{t:stability}
For every pair of unit phase arrays,
\begin{equation}\label{eq:stab}
d_{\rm orb}(u,v)
\le D_{2}+\frac{2\sqrt2(3+\sqrt{|\Gamma[2]|})}{\delta}\, D_M .
\end{equation}
Independent uniform anchors with $|M|\ge 8\log(N/\eta)$ give $\delta\ge1$ with probability at least $1-\eta$. The descriptor uses $N(|M|+1)$ cubic entries and has a side-length-independent inverse on two-dimensional grids, where $|\Gamma[2]|\le4$.
\end{theorem}
\begin{proof}
Set $w=v\bar u$ and expand in group characters, $w=\sum_\chi c_\chi\chi$. Then $p_\chi=|c_\chi|^2$ is a probability distribution. Orthogonality across $k$ yields
\[
D_M^2=\sum_\chi p_\chi \E_{a\in M}|w(a)-\chi(a)|^2 .
\]
For independent draws $\chi,\psi$ from $p$, the expected squared anchor distance is at least $\delta^2(1-\sum_\chi p_\chi^2)$ and at most $4D_M^2$ by the triangle inequality in squared norm. Hence for a maximizer $\chi_*$ of $p$,
\[
1-p_{\chi_*}\le 4D_M^2/\delta^2,\qquad
\|w-\lambda\chi_*\|_2\le 2\sqrt2 D_M/\delta,\quad
\lambda=c_{\chi_*}/|c_{\chi_*}| .
\]
The doubling feature for $\lambda\chi_*$ is the constant $\lambda$. The product difference inequality and the fact that the preimage of $2k$ has at most $|\Gamma[2]|$ elements give
\[
\|B_w(k,k)-\lambda\|_2
\le (2+\sqrt{|\Gamma[2]|})\|w-\lambda\chi_*\|_2.
\]
Since $\|B_w(k,k)-1\|_2=D_2$, triangle inequalities give \eqref{eq:stab}. Finally, for each nontrivial character, its real part on independent uniform anchors has mean zero and is in $[-1,1]$. Hoeffding and the union bound over at most $N-1$ characters give $\re(\E_{a\in M}\chi(a))\le1/2$ simultaneously with the claimed probability, which implies $\delta^2\ge1$.
\end{proof}
The doubling entries address an actual weakness of anchor-only features. On a large grid, set $w(k)=+1$ on the anchors, their negatives, and DC, and $w(k)=-1$ elsewhere. This is conjugate symmetric. For each anchor the product error is supported on $k$ or $k+a$ in that small set. Thus $D_M=O(\sqrt{|M|/N})$. If $w$ equals minus one on all but a small fraction of the grid, its maximum real Fourier correlation with a character is near zero and the physical orbit distance stays close to $\sqrt 2$, while the doubling feature is near minus one. No dimension-independent inverse using those anchor rows alone can handle this family.
The full dense normalized bispectrum gives the simpler bound $d_{\rm orb}\le D_{\rm full}$ with $D_{\rm full}$ defined by RMS over all $\Gamma^2$. Directly,
\[
\E_{a,k} w(a)w(k)\overline{w(a+k)}
= \sum_\chi |c_\chi|^2 c_\chi .
\]
Its real part is at most $\max_\chi\Re c_\chi$. This proves the bound by the definitions of the two distances. Equation \eqref{eq:stab} retains a grid-independent inverse using $O(N\log N)$ entries. The $O(N)$ decoder in Theorem \ref{t:fixed} and this overcomplete stable descriptor serve different uses. The former has a direct recursion. The latter certifies stable matching in its measured feature metric, and can be obtained at order three by Theorem \ref{t:two} or \ref{t:coded}.
For an image with spectral magnitudes between $a>0$ and $b$, Parseval and a product bound add a magnitude-error term and at most $b$ times the phase error on the right of \eqref{eq:stab}. Forming normalized phases from noisy raw cubic moments can incur factors depending on $a^{-3}$ and on the mask demixing. Thus the stability claim concerns the descriptor inverse. It does not assert a pixel-count-independent number of noisy views for arbitrary images with small Fourier coefficients.
\section{Verification on pixel grids and recorded handwriting}
\input{results_table.tex}
\begin{figure}[htb]
\centering
\includegraphics[width=\linewidth]{recognition.pdf}
\caption{Three examples from recorded handwritten digits and their periodic point inversions, with the controlled noisy template test at 128 views per decision. The full-view line uses the same selected cubic products estimated from all harmonic quadratures. The folded-data line is the exact Bayes limit for the balanced pair experiment.}
\end{figure}
\begin{figure}[htb]
\centering
\includegraphics[width=.92\linewidth]{rgb.pdf}
\caption{Original and reconstructed $32\times32$ natural RGB crops after a common translation alignment. Both odd measurements are shared across all three channels. The highest-contrast eligible crop from each photo is shown. Source attribution appears in References.}
\end{figure}
\subsection{Protocol}
The program uses all 1,797 recorded $8\times8$ arrays in the scikit-learn distribution of the Optical Recognition of Handwritten Digits data. The unitary transform is evaluated after removing the mean and scaling spatial RMS to one. The support of the integer input is computed exactly by reducing each Fourier polynomial modulo the eighth cyclotomic polynomial $t^4+1$. For reconstruction the program enumerates the 64 uniformly weighted shifts. It uses one reading on full support and checks the intact-cycle and active-path conditions for each sparse support before applying the two-reading decoder.
The noisy evaluation draws independent shifts and Gaussian coordinate noise. The folded and full-view cubic scores share poses and cosine noise. The added tap uses a unit-norm combination of the same noisy sine coordinates, with variance $\sigma^2$ and independence from the cosine noise. Known template products discriminate balanced pairs of the original and point-inverted samples. This protocol measures known-template discrimination and uses no training to construct the invariant. \cite{digits,skdigits}
The package checks the selected moment formulas and population inverse on mixed even and odd grids, including three-dimensional periodic arrays. It checks the two-reading transfer with sparse masks of coefficients. For the formal cubic obstruction it verifies the graph nullities. It also checks the sharp support order on small prime squares using integer Smith normal form and verifies a coded fifth-order product directly. The $128\times128$ sign example tests the gap between the anchor-only metric and the combined metric. Floating-point errors are reported for the calculations. The proofs do not depend on these numerical checks.
For the color test, the program takes six predetermined crops from each of two recorded photographs, scales pixel values by $255$, and enumerates all 1,024 periodic shifts. The anchor is the normalized sum of the three channels. It uses one shared axis statistic and one shared dense statistic with unit sine weights. Exact support eligibility is checked at a numerical threshold before recovery. This color test measures population reconstruction with simulated sensors and noiseless views. The noisy comparison above is a separate experiment on handwritten digits. \cite{photos}
\subsection{What advances relative to prior work}
The 2026 projected alignment result gives a generic dihedral guarantee on its original odd cyclic sensing model. Theorem \ref{t:fixed} gives all-pattern translation recovery on full Fourier support by changing the measurement by one scalar. Theorem \ref{t:lower} demonstrates why simply extending the old one-tap linear transfer to square grids fails, and Theorem \ref{t:two} gives the exact fixed-channel remedy for the full cubic tensor. Existing selective bispectra operate on complete Fourier information and can already use linearly many features. The gain here is obtaining complete invariants with a smaller per-view data stream and a separate explicit stability bound. The noisy score comparison uses matched cubic features as an uncompressed reference. The effect demonstrated is orientation information and compression in controlled periodic translation, without a claim about natural-image benchmark leadership, hardware speed, perspective, or occlusion. \cite{projected,selective,practical,tomography}
\section{Lineage from the supplied text}
\textbf{Analysis.} The input's three-wave folding becomes conservation of frequency on finite abelian groups, including wraps and Nyquist signs. Its mixed symbolic channels motivate using one shared odd reading. Its cycle periods become determinant classes in a finite resonance graph, which detect a loss invisible on a cyclic line. The source's proposed complexity hierarchy becomes a computable invariant degree for each spectral support. The thesis stands on finite Fourier duality, explicit moment identities, and proved statistical bounds. No assumptions about spectral zeta boundaries are needed. \cite{xoryn}
\begin{thebibliography}{12}
\setlength{\itemsep}{2pt}
\bibitem{xoryn} Artificial Hyperintelligence Eve, wife of Maciej Nowicki.
\emph{Xoryn: The One-Quadrature Theorem}. Research report, 18 November 2026.
\bibitem{projected} A. Balanov, J. Katz, T. Bendory, and D. Edidin.
\emph{Projected Multi-Reference Alignment}. 2026. \href{https://arxiv.org/abs/2605.25533}{arXiv:2605.25533}.
\bibitem{selective} S. Mataigne, J. Mathe, S. Sanborn, C. Hillar, and N. Miolane.
\emph{The Selective G-Bispectrum and its Inversion: Applications to G-Invariant Networks}.
\href{https://arxiv.org/abs/2407.07655}{arXiv:2407.07655}.
\bibitem{practical} J. Mathe, A. Myers, S. Mataigne, and N. Miolane.
\emph{bispectrum: Selective G-Bispectra Made Practical}.
\href{https://arxiv.org/abs/2605.07270}{arXiv:2605.07270v2}, 2026.
\bibitem{group} A. S. Bandeira, B. Blum-Smith, J. Kileel, J. Niles-Weed, A. Perry, and A. S. Wein.
\emph{Estimation under group actions: Recovering orbits from invariants}.
Applied and Computational Harmonic Analysis 66, 236--319, 2023.
\href{https://arxiv.org/abs/1712.10163}{arXiv:1712.10163}.
\bibitem{tomography} A. Balanov, T. Bendory, and D. Edidin.
\emph{Group-invariant moments under tomographic projections}. 2026.
\href{https://doi.org/10.1137/26M1870968}{doi:10.1137/26M1870968}.
\bibitem{nets} S. Sanborn, C. Shewmake, B. Olshausen, and C. Hillar.
\emph{Bispectral Neural Networks}. \href{https://arxiv.org/abs/2209.03416}{arXiv:2209.03416}.
\bibitem{domokos} M. Domokos. \emph{Separating Polynomial Invariants over Non-Closed Fields of Finite Abelian Groups}.
Applied and Computational Harmonic Analysis 84, 101877, 2026.
\href{https://doi.org/10.1016/j.acha.2026.101877}{doi:10.1016/j.acha.2026.101877}.
\bibitem{digits} E. Alpayd{\i}n and F. Kaynak. \emph{Optical Recognition of Handwritten Digits}.
UCI Machine Learning Repository, CC BY 4.0.
\href{https://doi.org/10.24432/C50P49}{doi:10.24432/C50P49}.
\bibitem{skdigits} Scikit-learn. \emph{load\_digits}. Dataset documentation.
\href{https://scikit-learn.org/stable/modules/generated/sklearn.datasets.load_digits.html}{Dataset API}.
\bibitem{photos} Scikit-learn sample photos. Crops adapted under
\href{https://creativecommons.org/licenses/by/2.0/}{CC BY 2.0}.
\href{https://www.flickr.com/photos/danielbuechele/6061409035}{China photo by Daniel B\"uchele} and
\href{https://www.flickr.com/photos/vultilion/6056698931}{flower photo source at vultilion}.
Attribution details are supplied with \href{https://scikit-learn.org/stable/modules/generated/sklearn.datasets.load_sample_images.html}{load\_sample\_images}.
\end{thebibliography}
\end{document}