Consider two invertible n-by-n matrices, $n>2$, $X$ and $Y$ over a finite field $k$ (say for simplicity $k=\mathbb Z/ \mathbb Z_2$). Is there any reasonable way to check that there is no proper subspace $V\subset k^n$ such that $V$ is invariant under the action of both $X$ and $Y$, i.e. $XV\subset V$ and $YV \subset V$?
Any known classes of examples of such $X$ and $Y$ that do not have a proper
subspace $V\subset k^n$ such that $V$ is invariant under the action of both $X$ and $Y$?