I am working on a problem where I have a group of matrices and a vector space of vectors, and I am looking to calculate the orbits of said group upon said vector space with GAP. Right now, I have each matrix and vector over $\mathbb{F}_2$ such that each element is $0$ or $1$, but GAP thinks that these are really operating in $\mathbb{Q}$. For instance, if I multiply two matrices such that an element should be $2 \equiv 0$, it just lets it be $2$. Of course, I could just mod each element of every vector and matrix by $2$, but this would not allow me to use the GAP functions like Orbits.
I want to be able to convert these matrices into a form where GAP recognizes that they are over $\mathbb{F}_2$ and has no problem determining orbits, stabilizers, and general actions naturally. I tried to multiply them by $Z(2)$ as I had seen done online, but GAP did not seem to do what I wanted with this—it failed to recognize that my matrix group is closed under multiplication, and said "no method found" when I tried to compute orbits.
I tried to look at the documentation for matrices over finite fields in GAP, but I couldn't get it to work. Thank you!
You can multiply a matrix of integers by
Z(2), for example:If you have tried something similar and it didn't work, please provide more details.