What is the most useful basefield for finite matrix groups?

asked 2020-05-26 17:23:32 +0200

Robin_F gravatar image

Hi everyone, I am trying to write a notebook that does some elementary computations in a finite matrix group like conjugacy classes and character tables. It is meant to be used in cases where the group is realized explicitly as some subgroup of GL(3,R) or GL(2,R). My problem now is that if I want to implement rotations like

rotations=[]
for t in [1/3,2/3]:
    rotations.append(matrix([[cos(2*pi*t),-sin(2*pi*t)],[sin(2*pi*t),cos(2*pi*t)]]))

the base ring will be the symbolic ring SR because there is a sqrt(2) in some denominators. If I then try to compute the characters via

gens=rotations
G2=MatrixGroup(gens)
G2.character_table()

I will get an error message. My assumption is that because of the base ring SR, Sage doesn't realize that this is in fact a finite group. What would a suitable base field be to make this computation possible?

Thanks in advance.

edit retag flag offensive close merge delete

Comments

AA or QQbar or UniversalCyclotomicField or CyclotomicField or NumberField or ...

FrédéricC gravatar imageFrédéricC ( 2020-05-27 12:03:17 +0200 )edit

Thank you for the quick reply. Working over numberfields actually makes it possible to enter the matrices in a somewhat useful form. The main problem is not solved, however. Sage still doesn't realize that this group is in fact finite.

z = QQ['z'].0
K = NumberField(z^2 - 3,'s'); K
s=K.gen()
r1=matrix(K,[[-1/2,-1/2*s],[1/2*s,-1/2]])
r2=matrix(K,[[-1/2,1/2*s],[-1/2*s,-1/2]])
rotations_new=[r1,r2]
gens=rotations_new
G2=MatrixGroup(gens)
G2.order()
Robin_F gravatar imageRobin_F ( 2020-05-28 12:01:23 +0200 )edit

This question about finiteness kind of turned up already here: https://ask.sagemath.org/question/38403/check-if-a-finitely-generated-matrix-group-is-finite-works-with-qq-and-not-with-cc/ (Check if a finiteley generated matrix group is finite). There it is pointed out that it wouldn't work over floating point fields like CC but the case of number fields is not really addressed.

Robin_F gravatar imageRobin_F ( 2020-05-28 12:30:24 +0200 )edit