I was trying to compute and factorize an 8x8 determinant in 14 variables using the following GAP code:
(after defining the 14 variables x1,..., x14):
N:=[[x1,x2,x3,x6,x7,x8,x11,x12],[x3,x1,x2,x8,x6,x7,x11,x12],[x3,x2,x1,x8,x7,x6,x12,x11],[x2,x3,x1,x7,x8,x6,x11,x12],[x1,x3,x2,x6,x8,x7,x12,x11],[x2,x1,x3,x7,x6,x8,x12,x11],[x4,x4,x4,x9,x9,x9,x13,x13],[x5,x5,x5,x10,x10,x10,x14,x14]];
f:=Determinant(N);
Factors(f);
However at the last step GAP runs out of memory. Is there a way to overcome this and compute the factorization in GAP?
Is there a computer algebra system better suited for this job, maybe MAGMA or SAGE?
Thank you!
In Mathematica code
The resulting expression is
$$-9 \left(x_2 x_6-x_3 x_6-x_1 x_7+x_3 x_7+x_1 x_8-x_2 x_8\right){}^2 \left(x_{11}-x_{12}\right) \left(-3 x_5 x_9 x_{11}+3 x_4 x_{10} x_{11}-3 x_5 x_9 x_{12}+3 x_4 x_{10} x_{12}+2 x_5 x_6 x_{13}+2 x_5 x_7 x_{13}+2 x_5 x_8 x_{13}-2 x_1 x_{10} x_{13}-2 x_2 x_{10} x_{13}-2 x_3 x_{10} x_{13}-2 x_4 x_6 x_{14}-2 x_4 x_7 x_{14}-2 x_4 x_8 x_{14}+2 x_1 x_9 x_{14}+2 x_2 x_9 x_{14}+2 x_3 x_9 x_{14}\right)$$
In GAP, what happens if you change all variable names to single letters?