Edited:How we should find the order of $A$ in $S = SL_2(F)$? (Solved)
$F = GF(2)[x] / \langle x^{63}+x+1 \rangle. $
x:=X(GF(2),"x");
pol:=x^63+x+1;
e:=AlgebraicExtension(GF(2),pol);
alpha:=PrimitiveElement(e);
A:=[[alpha^3+One(e),1],[1,0]]*One(e);
B:=[[alpha^5+alpha+One(e),alpha],[1,0]]*One(e);
g:=Group(A,B);
Second question: How we should define a group generated by $A, B$ $\in SL_2(F)$? and analysis it (StructureDescription(g), or at least calculate the size of $g$)
There way you describe the input there is some confusion between what
xis and what the appropriate 1 and 0 are. GAP will distinguish between 1 (as an element of the rational numbers) and the one ofGF(2), the one of the polynomial ring, and the one of the quotient ring. You need to create these as different objects. Also there is no need to construct the Lie algebra.So my suggestion for building this example would be to use
AlgebraicExtensionto construct the particular field you need. That is:Now construct the matrices, ensuring all elements lie over the correct field, and you can construct a group:
Caveat: This being an abstract field, most calculations defer to generic routines, and thus are slow. Furthermore the matrices you give have high order. You might want to experiment with field extensions of smaller degree first.
If you really need this particular case of matrices, probably starting with the minimal polynomial will be the best bet:
This is irreducible, but the minimal polynomial of $B$ splits:
gap> Factors(MinimalPolynomial(e,B));
Thus the order of $B$ is the lcm of the multiplicative orders of the two eigenvalues in $r$. In this case both are primitive elements, that is the order of $B$ will be $2^{63}-1$:
As the minimal polynomial of $A$ is irreducible, it will split over a degree 2 extension, i.e. a field of order $2^{126}-1$. We verify that indeed this must be a multiple of the order of $A$:
Now we proceed in a standard way, dividing off primes that do not occur in the order:
So the order of $A$ is (drumroll...) $9223372036854775809=3^3\cdot 19\cdot 43\cdot 5419\cdot 77158673929$.