# Revision history [back]

### restricting a NumberField to the reals for the calculation of a Galois group

I am trying to calculate a Galois Group. I have the following code

x=QQbar(7**(1/8))
L.<x>=NumberField(x.minpoly())
G=L.galois_group(names='x')
print(G)


The output is

Galois group of Galois closure in x of Number Field in x with defining polynomial x^8 - 7


I would like to restrict the number field L to the reals. My number field should be non-complex and contain the real root of the minimum polynomial? How do I acchieve that in my code?

Thanks

### restricting a NumberField to the reals for the calculation of a Galois group

I am trying to calculate a Galois Group. I have the following code

x=QQbar(7**(1/8))
L.<x>=NumberField(x.minpoly())
G=L.galois_group(names='x')
print(G)


The output is

Galois group of Galois closure in x of Number Field in x with defining polynomial x^8 - 7


I would like to restrict the number field L to the reals. My number field should be non-complex and contain the real root of the minimum polynomial? polynomial. How do I acchieve that in my code?

Thanks

### restricting a NumberField to the reals for the calculation of a Galois group

I am trying to calculate a Galois Group. I have the following code

x=QQbar(7**(1/8))
L.<x>=NumberField(x.minpoly())
G=L.galois_group(names='x')
print(G)


The output is

Galois group of Galois closure in x of Number Field in x with defining polynomial x^8 - 7


I would like to restrict the number field L to the reals. My number field should be non-complex and contain the real root of the minimum polynomial. polynomial only. How do I acchieve that in my code?

Thanks