# Grunwald–Wang theorem

In algebraic number theory, the Grunwald–Wang theorem is a local-global principle stating that—except in some precisely defined cases—an element x in a number field K is an nth power in K if it is an nth power in the completion $K_{\mathfrak {p}}$ for all but finitely many primes ${\mathfrak {p}}$ of K. For example, a rational number is a square of a rational number if it is a square of a p-adic number for almost all prime numbers p.
It was introduced by Wilhelm Grunwald (1933), but there was a mistake in this original version that was found and corrected by Shianghao Wang (1948). The theorem considered by Grunwald and Wang was more general than the one stated above as they discussed the existence of cyclic extensions with certain local properties, and the statement about nth powers is a consequence of this.

## History

   Some days later I was with Artin in his office when Wang appeared. He said he had a counterexample to a lemma which had been used in the proof. An hour or two later, he produced a counterexample to the theorem itself... Of course he [Artin] was astonished, as were all of us students, that a famous theorem with two published proofs, one of which we had all heard in the seminar without our noticing anything, could be wrong.
Grunwald (1933), a student of Helmut Hasse, gave an incorrect proof of the erroneous statement that an element in a number field is an nth power if it is an nth power locally almost everywhere. George Whaples (1942) gave another incorrect proof of this incorrect statement. However Wang (1948) discovered the following counterexample: 16 is a p-adic 8th power for all odd primes p, but is not a rational or 2-adic 8th power. In his doctoral thesis Wang (1950) written under Emil Artin, Wang gave and proved the correct formulation of Grunwald's assertion, by describing the rare cases when it fails. This result is what is now known as the Grunwald–Wang theorem. The history of Wang's counterexample is discussed by Peter Roquette (2005, section 5.3)

## Wang's counterexample

Grunwald's original claim that an element that is an nth power almost everywhere locally is an nth power globally can fail in two distinct ways: the element can be an nth power almost everywhere locally but not everywhere locally, or it can be an nth power everywhere locally but not globally.

### An element that is an nth power almost everywhere locally but not everywhere locally

The element 16 in the rationals is an 8th power at all places except 2, but is not an 8th power in the 2-adic numbers.
It is clear that 16 is not a 2-adic 8th power, and hence not a rational 8th power, since the 2-adic valuation of 16 is 4 which is not divisible by 8.
Generally, 16 is an 8th power in a field K if and only if the polynomial $X^{8}-16$ has a root in K. Write
    $X^{8}-16=(X^{4}-4)(X^{4}+4)=(X^{2}-2)(X^{2}+2)(X^{2}-2X+2)(X^{2}+2X+2).$
Thus, 16 is an 8th power in K if and only if 2, −2 or −1 is a square in K. Let p be any odd prime. It follows from the multiplicativity of the Legendre symbol that 2, −2 or −1 is a square modulo p. Hence, by Hensel's lemma, 2, −2 or −1 is a square in $\mathbb {Q} _{p}$.

### An element that is an nth power everywhere locally but not globally

16 is not an 8th power in $\mathbb {Q} ({\sqrt {7}}\,)$ although it is an 8th power locally everywhere (i.e. in $\mathbb {Q} _{p}({\sqrt {7}}\,)$ for all p). This follows from the above and the equality $\mathbb {Q} _{2}({\sqrt {7}}\,)=\mathbb {Q} _{2}({\sqrt {-1}}\,)$.

## A consequence of Wang's counterexample

Wang's counterexample has the following interesting consequence showing that one cannot always find a cyclic Galois extension of a given degree of a number field in which finitely many given prime places split in a specified way:
There exists no cyclic degree-8 extension $K/\mathbb {Q}$ in which the prime 2 is totally inert (i.e., such that $K_{2}/\mathbb {Q} _{2}$ is unramified of degree 8).

## Special fields

For any $s\geq 2$ let
    $\eta _{s}:=\exp \left({\frac {2\pi i}{2^{s}}}\right)+\exp \left(-{\frac {2\pi i}{2^{s}}}\right)=2\cos \left({\frac {2\pi }{2^{s}}}\right).$
Note that the $2^{s}$th cyclotomic field is
    $\mathbb {Q} _{2^{s}}=\mathbb {Q} (i,\eta _{s}).$
A field is called s-special if it contains $\eta _{s}$, but neither $i$, $\eta _{s+1}$ nor $i\eta _{s+1}$.

## Statement of the theorem

Consider a number field K and a natural number n. Let S be a finite (possibly empty) set of primes of K and put
    $K(n,S):=\{x\in K\mid x\in K_{\mathfrak {p}}^{n}\mathrm {\ for\ all\ } {\mathfrak {p}}\not \in S\}.$
The Grunwald–Wang theorem says that
    $K(n,S)=K^{n}$
unless we are in the special case which occurs when the following two conditions both hold:
* $K$ is s-special with an $s$ such that $2^{s+1}$ divides n.
* $S$ contains the special set $S_{0}$ consisting of those (necessarily 2-adic) primes ${\mathfrak {p}}$ such that $K_{\mathfrak {p}}$ is s-special.
In the special case the failure of the Hasse principle is finite of order 2: the kernel of
    $K^{\times }/K^{\times n}\to \prod _{{\mathfrak {p}}\not \in S}K_{\mathfrak {p}}^{\times }/K_{\mathfrak {p}}^{\times n}$
is Z/2Z, generated by the element η$^n$ $_{s+1}$.

## Explanation of Wang's counterexample

The field of rational numbers $K=\mathbb {Q}$ is 2-special since it contains $\eta _{2}=0$, but neither $i$, $\eta _{3}={\sqrt {2}}$ nor $i\eta _{3}={\sqrt {-2}}$. The special set is $S_{0}=\{2\}$. Thus, the special case in the Grunwald–Wang theorem occurs when n is divisible by 8, and S contains 2. This explains Wang's counterexample and shows that it is minimal. It is also seen that an element in $\mathbb {Q}$ is an nth power if it is a p-adic nth power for all p.
The field $K=\mathbb {Q} ({\sqrt {7}}\,)$ is 2-special as well, but with $S_{0}=\emptyset$. This explains the other counterexample above.