**First question**: For a semisimple invertible $n \times n$ matrix with entries over a field *K*, its characteristic polynomial completely describes the similarity class of the matrix. For non-semisimple elements, the characteristic polynomial is no longer a complete description of the similarity class, but there exists the rational canonical form, which is a complete invariant.


I'm interested in whether we can find invariants that help determine the similarity class of elements of $GL(n,\mathbb{Z})$ (where $\mathbb{Z}$ is the ring of integers) under the $GL(n,\mathbb{Z})$-conjugation action. Clearly, the invariants for similarity class over $\mathbb{Q}$, but there are semisimple matrices in the same similarity class over $\mathbb{Q}$ but not conjugate over $\mathbb{Z}$:


1 0


0 -1


and


0 1


1 0


These are clearly conjugate in $GL(2,\mathbb{Q})$ but not in $GL(2,\mathbb{Z})$. To see why they aren't conjugate in the latter, note that on reducing mod 2, the first matrix becomes the identity matrix and the second matrix becomes a non-identity matrix, so they cannot be conjugate mod 2, and hence cannot be conjugate in $GL(2,\mathbb{Z})$.


**Second question**: For a finite group *G*, call representations $\alpha, \beta: G \to GL(n,R)$ "locally conjugate" if $\alpha(g)$ is conjugate to $\beta(g)$ for every $g \in G$ via some element of $GL(n,R)$ depending on *g*.


We say that $\alpha$, $\beta$ are equivalent as representations if we can choose a single element of $GL(n,R)$ that conjugates $\alpha(g)$ to $\beta(g)$ for every $g \in G$.


My question is: does locally conjugate imply equivalent when $R = \mathbb{Z}$?


NOTE 1: When *R* is a field of characteristic not dividing the order of *G*, then locally conjugate implies equivalent, and we can prove this by noting that $\alpha$, $\beta$ have the same character (SORRY, the "same character" is enough to complete the proof only in characteristic zero -- in prime characteristics, even those that don't divide the order of the group, having the same character isn't good enough to conclude the representations are equivalent. However, the "locally equivalent implies equivalent" seems to still hold when the characteristic does not divide the order of *G* using more indirect arguments). However, for $\mathbb{Z}$, the character no longer determines the representation, so the proof used for fields (taking the character) does not work for $\mathbb{Z}$.


NOTE 2: When the characteristic of *R* divides the order of *G*, there exist examples of locally conjugate representations that are not equivalent -- in fact, we can construct such examples for the Klein four-group with the field of four elements. I haven't had success with using these to generate counter-examples over $\mathbb{Z}$, though there may be a way.



What invariants of a matrix or representation can be used to find its GL(n,Z)-conjugacy class?
Here is the requested example of two representations of the Klein 4 group over $\mathbb{Z}$, locally conjugate but not conjugate. 


Let $K:= \mathbb{Z}/2 \times \mathbb{Z}/2$ act on $\mathbb{Z}^4$ by permuting the coordinates. Inside $\mathbb{Z}^4$, consider the following two lattices:


$$L\_1 := \{ (a,b,c,d) \in \mathbb{Z}^4 : a \equiv b \equiv c \equiv d \mod 2 \}$$


$$L\_2 := \{ (a,b,c,d) \in \mathbb{Z}^4 : a + b + c + d \equiv 0 \mod 2 \}$$


**Verification that $L\_1$ and $L\_2$ are locally isomorphic**:


Let $\sigma$ be the element of $K$ which switches the first two and the last two coordinates. Consider the following bases for $L\_1$ and $L\_2$:
$$(1,1,1,1),\ (1,-1,1,-1),\ (2,0,0,0), (0,2,0,0)$$
and
$$(1,1,0,0),\ (1,-1,0,0),\ (1,0,1,0),\ (0,1,0,1)$$
In both cases, $\sigma$ fixes the first basis element, negates the second and switches the last two. So $L\_1$ and $L\_2$ are isomorphic modules for $\mathbb{Z}[\sigma]/\langle \sigma^2-1 \rangle$.


**Verification that $L\_1$ and $L\_2$ are not isomorphic**:


For each character $\chi$ of $K$, let $L\_i^{\chi}$ be the sublattice of $L\_i$ on which $K$ acts by $\chi$. Let $M\_i = \bigoplus\_{\chi} L\_i^{\chi}$. Then $L\_1/M\_1$ has order $2$, and $L\_2/M\_2$ has order $8$.


