PureOne's picture
Upload research package with Eve Uploader
c698beb verified
Raw History Blame Contribute Delete
13.4 kB
\section{A finite decoder for every certified packet map}
\label{sec:general-decoder}
This section concerns the constant-ray matrix encoder over
$\mathbb Q=\mathbb F_{p^r}$ and $\mathbb K=\mathbb F_{p^m}$.
Each source packet is in $\mathbb K^\ell$, each parity packet is in
$\mathbb K^L$, and ray $j$ carries a fixed matrix
$A_j\in\operatorname{Mat}_{L\times\ell}(\mathbb K)$.
The matrices may be rectangular and need not commute.
The construction below uses an ordinary left inverse of a small matrix,
followed by a predetermined number of sparse recovery sweeps.
The sweep bound depends on the geometry, while the cost of each sweep
also depends on the packet dimensions.
Let $H=H(a,\beta,\tau)$ be an erased hyperplane, let
$S=D\cap H$ be the missing source sites, and let $U=P\setminus H$
be the surviving parity sites. Subtract all known source contributions
from the packets on $U$. If $H=P$, then $S$ is empty and no source
reconstruction is necessary. Otherwise, an active ray
$j_*$ identifies the missing source sites with $U$.
After this column relabeling, the residual equation is
\[
r=Mx.
\]
The field operations in the following algorithm all take place in
$\mathbb K$. In particular, implementing the decoder does not require
that $\mathbb Q$ be a subfield of $\mathbb K$.
\subsection{The additive translation algebra}
\begin{lemma}[An explicit nilpotent ideal]
\label{lem:decoder-augmentation}
Let $N$ be an elementary abelian group of order $p^e$, and suppose that
$\operatorname{char}\mathbb K=p$. In its group algebra
$\mathcal A=\mathbb K[N]$, let
$\varepsilon:\mathcal A\to\mathbb K$ be augmentation:
$\varepsilon(\sum_{v\in N}c_v[v])=\sum_vc_v$.
Then
\[
J=\ker\varepsilon,\qquad J^{\,1+e(p-1)}=0.
\]
\end{lemma}
\begin{proof}
Choose an $\mathbb F_p$-basis $n_1,\ldots,n_e$ of $N$ and put
$X_i=[n_i]-1$. Since $[n_i]^p=1$ and the characteristic is $p$,
$X_i^p=0$. These elements generate the group algebra, and the map
\[
\mathbb K[X_1,\ldots,X_e]/(X_1^p,\ldots,X_e^p)
\longrightarrow \mathbb K[N]
\]
is surjective. Both sides have dimension $p^e$ over $\mathbb K$,
so the map is an isomorphism. Under this isomorphism $J$ is the
ideal generated by the $X_i$. A nonzero monomial has total degree
at most $e(p-1)$, proving the asserted nilpotence.
\end{proof}
A group-algebra element acts on functions $f:N\to\mathbb K$ by
translation, with $[v]f(z)=f(z+v)$. Constant functions are acted on
by its augmentation. This observation gives both directions of the
following rectangular lifting statement.
\begin{lemma}[Rectangular lifting from augmentation]
\label{lem:rectangular-lifting}
Let $M$ be an $a_0$-by-$b_0$ matrix over $\mathbb K[N]$, and put
$B_0=\varepsilon(M)$, applying augmentation entrywise.
The induced map on vector-valued functions on $N$ is injective
if and only if $B_0$ has column rank $b_0$ over $\mathbb K$.
If $D_0B_0=I_{b_0}$ and $C_0=M-B_0$, then
\begin{equation}
\mathcal L
=\sum_{j=0}^{\nu-1}(-D_0C_0)^jD_0,\qquad
\mathcal L M=I,\qquad
\nu=1+e(p-1).
\label{eq:rectangular-lift-inverse}
\end{equation}
\end{lemma}
\begin{proof}
If $B_0v=0$ for a nonzero $v\in\mathbb K^{b_0}$, the constant
function with value $v$ is a nonzero kernel vector of $M$.
Conversely, full column rank provides an ordinary left inverse
$D_0$ over $\mathbb K$. Every entry of $C_0$ lies in $J$, and thus
every entry of $D_0C_0$ lies in $J$.
A product of $\nu$ such matrices has entries that are sums of
products of $\nu$ elements of $J$, so
$(D_0C_0)^\nu=0$ by Lemma~\ref{lem:decoder-augmentation}.
Because $D_0M=I+D_0C_0$, the finite geometric sum in
\eqref{eq:rectangular-lift-inverse} is a left inverse.
The argument does not require matrix commutation.
\end{proof}
\subsection{Oblique cuts: a small radial matrix}
Suppose $a\ne0$. Define
$\gamma_j=\beta+a\cdot w_j$ and
$J(H)=\{j:\gamma_j\ne0\}$, and choose $j_*\in J(H)$.
Choose $u_0,e\in\mathbb Q^d$ such that
$a\cdot u_0=\tau$ and $a\cdot e=1$.
Every live parity coordinate has a unique expression
\[
u=u_0+z-se,\qquad
z\in\ker a,\qquad s=\tau-a\cdot u\in\mathbb Q^\times.
\]
After identifying $\ker a$ with $\mathbb Q^{d-1}$, the relative
map associated with ray $j$ is
\begin{align}
(z,s)&\longmapsto (z+s v_j,\lambda_js),\nonumber\\
\lambda_j&=\frac{\gamma_{j_*}}{\gamma_j},&
v_j&=\frac{w_j-w_{j_*}}{\gamma_j}+(\lambda_j-1)e
\in\ker a.
\label{eq:decoder-relative-coordinates}
\end{align}
To verify this formula, the source reached from $u$ through ray $j$
has last coordinate $s/\gamma_j$. Its reference projection is
$u'=u+s(w_j-w_{j_*})/\gamma_j$.
Consequently $\tau-a\cdot u'=\lambda_js$, and substitution gives
the tangent coordinate in \eqref{eq:decoder-relative-coordinates}.
In particular, the reference map is the identity.
Stack the $q-1$ radial packets at each $z$ into one vector.
Set
\[
\rho=q-1,\qquad n=q^{d-1},\qquad h=n\rho.
\]
The recovery operator is a $\rho L$-by-$\rho\ell$ matrix over
$\mathbb K[N]$, where $N=(\mathbb Q^{d-1},+)$.
For $s,t\in\mathbb Q^\times$, its packet block and its augmentation are
\begin{equation}
M_{s,t}
=\sum_{\substack{j\in J(H)\\t=\lambda_js}}
A_j[s v_j],
\qquad
(B_0)_{s,t}
=\sum_{\substack{j\in J(H)\\t=\lambda_js}}A_j.
\label{eq:radial-quotient-matrix}
\end{equation}
Thus $B_0$ has only $\rho L$ rows and $\rho\ell$ columns,
whereas the full physical recovery matrix has $Lh$ rows and
$\ell h$ columns.
For completeness, the relation to the rank certificate is explicit.
Over the compositum $\Omega=\mathbb K\mathbb Q$, radial functions
$s\mapsto s^k$, $0\le k\le q-2$, form a basis. On the subspace
$s^kv$, the matrix $B_0$ acts by
\[
s^k v\longmapsto
s^k\left(\sum_{j\in J(H)}\lambda_j^kA_j\right)v.
\]
Therefore $B_0$ has full column rank exactly when these $q-1$
character matrices do. Rank does not change under field extension,
so the required left inverse of $B_0$ can be computed directly
over $\mathbb K$.
\begin{theorem}[Exact oblique packet iteration]
\label{thm:general-oblique-decoder}
Suppose the oblique recovery matrix satisfies the rank certificate.
Choose any ordinary left inverse $D_0$ of the matrix $B_0$ in
\eqref{eq:radial-quotient-matrix}, and apply it separately at each
tangent coordinate $z$. Starting from $x^{(0)}=0$, iterate
\begin{equation}
x^{(t+1)}
=x^{(t)}+D_0\bigl(r-Mx^{(t)}\bigr).
\label{eq:general-packet-iteration}
\end{equation}
The missing source packets are recovered exactly after at most
\[
\nu_{\mathrm{obl}}=1+r(d-1)(p-1)
\]
iterations. The conclusion holds for every certified rectangular
packet map, including noncommuting square maps.
\end{theorem}
\begin{proof}
The additive group $N$ has $\mathbb F_p$-dimension $r(d-1)$.
The hypotheses and Lemma~\ref{lem:rectangular-lifting} therefore apply.
If $x$ is the true source and $e^{(t)}=x^{(t)}-x$, then
\[
e^{(t+1)}
=(I-D_0M)e^{(t)}
=-D_0(M-B_0)e^{(t)}.
\]
The error operator has $\nu_{\mathrm{obl}}$th power zero, proving
exact termination. The displayed recurrence is equivalent to
$x^{(t+1)}=D_0(r-(M-B_0)x^{(t)})$, because $D_0B_0=I$.
Thus it need not form the difference operator explicitly.
\end{proof}
If the vectors $v_j$ span a space of dimension $\rho_0<d-1$
over $\mathbb Q$, the same proof uses that translation subgroup
and improves the bound to $1+r\rho_0(p-1)$.
The full bound is a uniform guarantee; it need not be attained
for every erasure orientation.
\subsection{Horizontal cuts}
For a source slab $c=c_0\ne0$, align columns using one reference
ray $w_{j_*}$. The relative translations are
$c_0(w_j-w_{j_*})$, and the augmentation is simply
\[
B_0=\sum_{j=0}^{d}A_j
\quad\text{with dimensions }L\text{ by }\ell.
\]
The $d$ nonzero relative directions of an affine basis are
linearly independent over $\mathbb Q$ and hence over $\mathbb F_p$.
They generate an elementary abelian subgroup of rank $d$.
The translation action decomposes into its cosets in
$\mathbb Q^d$.
\begin{corollary}[Exact slab packet iteration]
\label{cor:general-slab-decoder}
Suppose $\sum_jA_j$ has full column rank.
Choose an ordinary left inverse $D_0$ over $\mathbb K$.
The iteration \eqref{eq:general-packet-iteration}, with $D_0$
applied at each horizontal position, recovers the erased slab
after at most
\[
\nu_{\mathrm{slab}}=1+d(p-1)
\]
sweeps.
\end{corollary}
\begin{proof}
Apply Lemma~\ref{lem:rectangular-lifting} on each coset of the
rank-$d$ translation subgroup. The same left inverse and the
same bound apply on every coset.
\end{proof}
For a larger collection of rays, replace $d$ in this slab
bound by the $\mathbb F_p$-dimension of the span of all relative
translations. That dimension can be as large as $rd$.
No such change is needed for the affine-basis construction.
\subsection{A complete implementation procedure and its cost}
The following procedure uses only finite-field arithmetic and
permutations of known addresses.
\begin{enumerate}
\item Identify a containing affine hyperplane and separate its
missing source sites from its live parity sites. If only a
subset of the hyperplane was erased, treat the additional
source sites on it as virtual unknowns.
\item Subtract the contributions of the known source packets.
Then choose an active reference ray and form all relative maps.
\item Form the small matrix $B_0$. Select a full-rank square
submatrix of rows, invert it, and insert zero columns in the
complementary positions to obtain a left inverse $D_0$.
A failed rank check reports an uncertified cut.
\item Set the aligned source array to zero and perform the
prescribed number of updates
$x\leftarrow x+D_0(r-Mx)$.
The operator $M$ uses the active sparse ray maps.
\item Undo the reference column relabeling. Recompute the
surviving equations and compare any virtually erased packets
with their already known values.
\end{enumerate}
A received array can contain errors outside the promised erasure
model. The final equation check detects inconsistency with the
computed source; the theorem itself assumes that surviving
packets are intact.
Here are direct dense arithmetic bounds, so that the cost of
the small left inverse is not hidden. Write $k_H=|J(H)|$.
For an oblique cut, eliminating a
$\rho L$-by-$\rho\ell$ full-column-rank matrix costs
\[
O(\rho^3 L\ell^2)
\]
operations in $\mathbb K$.
One application of $M$ costs $O(k_HhL\ell)$ with dense packet
matrices. Applying $D_0$ at the $n$ tangent positions costs
$O(n\rho^2L\ell)=O(h\rho L\ell)$.
Consequently the solve, after preparation, uses
\begin{equation}
O\!\left(
[1+r(d-1)(p-1)]\,hL\ell(k_H+q-1)
\right)
\label{eq:general-decoder-cost}
\end{equation}
field operations.
The slab preparation costs $O(L\ell^2)$ and its solve costs
$O([1+d(p-1)]q^dL\ell(d+2))$.
Sparse packet matrices or structured left inverses can reduce
these arithmetic bounds.
Besides the packet matrices and optional address tables, the
oblique solver stores
$O(h(L+\ell)+(q-1)^2L\ell)$ field elements.
The preparation is reusable whenever the ray matrices and
the hyperplane orientation are unchanged.
These counts exclude forming the residual from surviving data,
storage transfers, and address discovery. They are operation
bounds, not throughput measurements.
Although the number of sweeps is independent of packet length,
a sweep is an operation on whole packets.
\subsection{Polynomial coefficients with a singular leading matrix}
A polynomial ray weight
$a_j(T)=\sum_{t=0}^{L-1}a_{j,t}T^t$
defines the constant rectangular matrix
\[
(A_j)_{u,v}=
\begin{cases}
a_{j,u-v},&u\ge v,\\
0,&u<v,
\end{cases}
\qquad 0\le u<L,\quad 0\le v<\ell.
\]
Multiplication modulo $T^L$ on source polynomials of degree
less than $\ell$ is exactly this matrix map.
Every certified polynomial encoder therefore falls within
Theorem~\ref{thm:general-oblique-decoder} and
Corollary~\ref{cor:general-slab-decoder}; no invertible leading
coefficient is required.
For example, take binary geometry with $d=1$,
$a_0(T)=1$, $a_1(T)=1+T$, and $L=\ell+1$.
The three nonzero binary combinations of the ray weights are
$1$, $1+T$, and $T$. Their convolution maps all have column
rank $\ell$. On the source slab, the constant coefficient of
the spatial recovery operator is singular, but the small
augmentation matrix is convolution by $T$ from $\ell$ source
coefficients to $\ell+1$ parity coefficients.
A left inverse extracts output coefficients $1,\ldots,\ell$.
The packet iteration consequently recovers the slab in at most
two sweeps, for every $\ell$.
This example illustrates why injectivity on the permitted
source space is the relevant requirement.
\subsection{When a Frobenius shortcut is valid}
Scalar convolution kernels over a commutative ring in
characteristic $p$, on translations of exponent $p$, satisfy
\[
\left(\sum_j a_j\tau_j\right)^p
=\left(\sum_j a_j\right)^p I.
\]
If $\sum_j a_j$ is a unit, this identity supplies a short inverse.
The same identity extends to square packet weights only when
the summands commute. It is not an identity for arbitrary
noncommuting matrix weights, and powers are not even defined
for a rectangular map.
For instance, over $\mathbb F_2$, take
\[
U=\begin{pmatrix}0&1\\0&0\end{pmatrix},\qquad
V=\begin{pmatrix}0&0\\1&0\end{pmatrix},
\]
and let $\tau$ be a nonidentity translation of order two.
Then $(UI+V\tau)^2=I\tau$, whereas $(U+V)^2I=I$.
The augmentation decoder above remains valid whenever its
rank certificate holds, because its proof uses ideal
nilpotence rather than a commutative power expansion.