Howell normal form

In linear algebra and ring theory, the Howell normal form is a generalization of the row echelon form of a matrix over $$\Z_N$$, the ring of integers modulo N. The row spans of two matrices agree if, and only if, their Howell normal forms agree. The Howell normal form generalizes the Hermite normal form, which is defined for matrices over $$\Z$$.

Definition
A matrix $$A \in \Z_N^{n \times m}$$ over $$\Z_N$$ is called to be in row echelon form if it has the following properties:


 * Let $$r$$ be the number of non-zero rows of $$A$$. Then the topmost $$r$$ rows of the matrix are non-zero,
 * For $$1 \leq i \leq r$$, let $$j_i$$ be the index of the leftmost non-zero element in the row $$i$$. Then $$j_1 < j_2 < \dots < j_r$$.

With elementary transforms, each matrix in the row echelon form can be reduced in a way that the following properties will hold:


 * For each $$1 \leq i \leq r$$, the leading element $$A_{ij_i}$$ is a divisor of $$N$$,
 * For each $$1 \leq k < i \leq r$$ it holds that $$0 \leq A_{kj_i} < A_{ij_i}$$.

If $$A$$ adheres to both above properties, it is said to be in reduced row echelon form.

If $$A$$ adheres to the following additional property, it is said to be in Howell normal form ($$S(A)$$ denotes the row span of $$A$$):


 * let $$v \in S(A)$$ be an element of the row span of $$A$$, such that $$v_k = 0$$ for each $$1 \leq k < j_i$$. Then $$v \in S(A_{i \dots m})$$, where $$A_{i\dots m}$$ is the matrix obtained of rows from $$i$$-th to $$m$$-th of the matrix $$A$$.

Properties
For every matrix $$A$$ over $$\Z_N$$, there is a unique matrix $$H$$ in the Howell normal form, such that $$S(A)=S(H)$$. The matrix $$H$$ can be obtained from matrix $$A$$ via a sequence of elementary transforms.

From this follows that for two matrices $$A, B \in \Z_N^{n \times m}$$ over $$\Z_N$$, their row spans are equal if and only if their Howell normal forms are equal.

For example, the matrices


 * $$A = \begin{bmatrix}

4 & 1 & 0 \\ 0 & 0 & 5 \\ 0 & 0 & 0 \end{bmatrix}, \;\;\; B = \begin{bmatrix} 8 & 5 & 5 \\ 0 & 9 & 8 \\ 0 & 0 & 10 \end{bmatrix}$$

have the same Howell normal form over $$\Z_{12}$$:


 * $$H=\begin{bmatrix}

4 & 1 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 1 \end{bmatrix}.$$ Note that $$A$$ and $$B$$ are two distinct matrices in the row echelon form, which would mean that their span is the same if they're treated as matrices over some field. Moreover, they're in the Hermite normal form, meaning that their row span is also the same if they're considered over $$\Z$$, the ring of integers.

However, $$\Z_{12}$$ is not a field and over general rings it is sometimes possible to nullify a row's pivot by multiplying the row with a scalar without nullifying the whole row. In this particular case,
 * $$3 \cdot \begin{bmatrix}4 & 1 & 0\end{bmatrix} \equiv \begin{bmatrix}0 & 3 & 0\end{bmatrix} \pmod{12}.$$

It implies $$\begin{bmatrix}0 & 3 & 0\end{bmatrix} \in S(A)$$, which wouldn't be true over any field or over integers.