# The Pontryagin duals of Q/Z and Q

## 1 Pontryagin duality

Write ${S}^{1}=\{z\in \u2102:|z|=1\}$.
A character of a locally compact abelian group $G$ is a continuous group homomorphism $G\to {S}^{1}$.
We denote by $\widehat{G}$ the set of characters of $G$, where for ${\varphi}_{1},{\varphi}_{2}\in \widehat{G}$ and $x\in G$,
we define $({\varphi}_{1}{\varphi}_{2})(x)={\varphi}_{1}(x){\varphi}_{2}(x)$. We assign $\widehat{G}$ the final topology for the family of functions
$\{\varphi \mapsto \varphi (x):x\in G\}$, i.e., the coarsest topology on $\widehat{G}$ so that for each $x\in G$, the function $\varphi \mapsto \varphi (x)$ is continuous
$\widehat{G}\to {S}^{1}$. With this topology, it is a fact that $\widehat{G}$ is itself a locally compact abelian group, called the Pontryagin dual of $G$.
It is a fact that the Pontryagin dual of a discrete abelian group is compact and that the Pontryagin dual of compact abelian group is discrete.^{1}^{1}
1
Markus Stroppel, Locally Compact Groups,
p. 175, Theorem 20.6.
The Pontryagin duality theorem states that in the category
of locally compact abelian groups, there is a natural
isomorphism from the double dual functor to the identity functor.^{2}^{2}
2
Markus Stroppel, Locally Compact Groups,
p. 193, Theorem 22.6.

With the subspace topology inherited from $\mathbb{R}$, one checks that a compact subset of $\mathbb{Q}$ has empty interior, and therefore $\mathbb{Q}$ is not locally compact. Thus, to work with the rational numbers in the category of locally compact abelian groups, we cannot use the subspace topology inherited from $\mathbb{R}$. Rather, we assign $\mathbb{Q}$ the discrete topology. (Any abelian group is a locally compact abelian group when assigned the discrete topology.) From now on, when we speak about $\mathbb{Q}$, unless we say otherwise it has the discrete topology.

Because we use the discrete topology with $\mathbb{Q}$, its Pontryagin dual $\widehat{\mathbb{Q}}$ is a compact abelian group, which we wish to describe in a tractable way.

## 2 The p-adic integers

For a prime $p$ and for $n\ge 1$, $\mathbb{Z}/{p}^{n}$ with the discrete topology is a compact abelian group. For $n\ge m$, let ${\pi}_{n,m}:\mathbb{Z}/{p}^{n}\to \mathbb{Z}/{p}^{m}$ be the projection map. The compact abelian groups $\mathbb{Z}/{p}^{n}$ and the continuous group homomorphisms ${\pi}_{n,m}$ are an inverse system in the category of locally compact abelian groups. The inverse limit is a compact abelian group denoted by ${\mathbb{Z}}_{p}$, called the $p$-adic integers.

## 3 Q/Z and its Pontryagin dual

Let $G$ be an abelian group. The the torsion subgroup ${T}_{G}$ of $G$ is the collection of those elements of $G$ with finite order. We say that $G$ is a torsion group if ${T}_{G}=G$. Said differently, for $n$ a nonnegative integer, let $G[n]$ be the set of those $x\in G$ such that $nx=0$. For $m|n$, let ${i}_{m,n}:G[m]\to G[n]$ be the inclusion map; indeed, if $x\in G[m]$ then

$$nx=\frac{n}{m}\cdot mx=\frac{m}{n}\cdot 0=0.$$ |

The groups $G[n]$ and the group homomorphisms are a direct system in the category of abelian groups, whose direct limit one checks is isomorphic to ${T}_{G}$.

For $p$ prime, the $p$-primary subgroup ${G}_{p}$ of $G$ is the set of those $x\in G$ such that for some $n\ge 1$, $x\in G[{p}^{n}]$. We can also express ${G}_{p}$ in the following way. For $m\le n$, let ${\iota}_{m,n}:G[{p}^{m}]\to G[{p}^{n}]$ be the inclusion map; indeed, for $x\in G[{p}^{m}]$,

$${p}^{n}x={p}^{n-m}{p}^{m}x={p}^{n-m}\cdot 0=0.$$ |

The groups $G[{p}^{n}]$ and the group homomorphisms ${\iota}_{m,n}$ are a direct system in the category of abelian groups, and one checks that the direct limit is isomorphic to ${G}_{p}$.

Let $x\in {T}_{G}$ and call its order $m$. Write $m={p}_{1}^{{e}_{1}}\mathrm{\cdots}{p}_{r}^{{e}_{r}}$ and put ${m}_{i}=\frac{m}{{p}_{i}^{{e}_{i}}}$. Then $\mathrm{gcd}({m}_{1},\mathrm{\dots},{m}_{r})=1$, so there are integers ${l}_{1},\mathrm{\dots},{l}_{r}$ such that

$${l}_{1}{m}_{1}+\mathrm{\cdots}+{l}_{r}{m}_{r}=1.$$ |

Thus

$$x=\left(\sum _{i=1}^{r}{l}_{i}{m}_{i}\right)x=\sum _{i=1}^{r}{l}_{i}({m}_{i}x)=\sum _{i=1}^{r}{l}_{i}{x}_{i},$$ |

where ${x}_{i}={m}_{i}x$. Because ${x}_{i}$ has order $\frac{m}{{m}_{i}}={p}_{i}^{{e}_{i}}$, it belongs to ${G}_{{p}_{i}}$ and so ${l}_{i}{x}_{i}\in {G}_{{p}_{i}}$, showing that every element of ${T}_{G}$ is a finite sum of elements of the $p$-primary components of $G$. Furthermore, one proves that if ${x}_{p}\in {G}_{p}$ and ${y}_{p}\in {G}_{p}$, with only finitely many ${x}_{p},{y}_{p}$ nonzero, then ${\sum}_{p}{x}_{p}={\sum}_{p}{y}_{p}$ implies that ${x}_{p}={y}_{p}$ for each $p$. Therefore, ${T}_{G}$ is isomorphic to the direct sum

$$\underset{p}{\oplus}{G}_{p}.$$ |

The statement that ${T}_{G}$ is isomorphic to the direct sum of the $p$-primary components of $G$ is called the primary
decomposition theorem.^{3}^{3}
3
Derek Robinson, A Course in the Theory of Groups, second ed.,
p. 94, Theorem 4.1.1.

It is straightforward to check that $\mathbb{Q}/\mathbb{Z}$ is the torsion subgroup of the abelian group $\mathbb{R}/\mathbb{Z}$. It can thus be modeled as the group of roots of unity in ${S}^{1}$. Writing $G=\mathbb{Q}/\mathbb{Z}$, for $p$ prime and for $n\ge 1$ it is apparent that $G[{p}^{n}]$ is isomorphic to the subgroup $$ of ${S}^{1}$, and thus to $\mathbb{Z}/{p}^{n}$. Define ${\iota}_{m,n}:\mathbb{Z}/{p}^{m}\to \mathbb{Z}/{p}^{n}$, $m\le n$, by ${\iota}_{m,n}(x)={p}^{n-m}x$. The groups $\mathbb{Z}/{p}^{n}$ and the group homomorphisms ${\iota}_{m,n}$ are a direct system in the category of abelian groups, whose direct limit is denoted by $\mathbb{Z}({p}^{\mathrm{\infty}})$, called the Prüfer $p$-group. Thus, the $p$-primary component of $\mathbb{Q}/\mathbb{Z}$ is isomorphic to the Prüfer $p$-group $\mathbb{Z}({p}^{\mathrm{\infty}})$. Now applying the primary decomposition theorem, we get that $\mathbb{Q}/\mathbb{Z}$ is isomorphic to the direct sum of all the Prüfer $p$-groups:

$$\mathbb{Q}/\mathbb{Z}\cong \underset{p}{\oplus}\mathbb{Z}({p}^{\mathrm{\infty}}).$$ | (1) |

We assign $\mathbb{Q}/\mathbb{Z}$ the discrete topology; indeed, the direct sum of discrete abelian groups is a discrete abelian group.

It is a fact that the Pontryagin dual of a direct sum of discrete abelian groups is isomorphic to the direct product of the Pontryagin duals of the summands. Also, we take as known that the Pontryagin dual of the compact abelian group ${\mathbb{Z}}_{p}$ is the discrete abelian group $\mathbb{Z}({p}^{\mathrm{\infty}})$:

$$\widehat{{\mathbb{Z}}_{p}}\cong \mathbb{Z}({p}^{\mathrm{\infty}}).$$ |

Thus, in the category of locally compact abelian groups,

$$\widehat{\mathbb{Q}/\mathbb{Z}}\cong \prod _{p}{\mathbb{Z}}_{p}.$$ |

On the other hand, we stated above that if $G$ is an abelian group then ${T}_{G}$ is isomorphic to the direct limit of the direct system of groups $G[n]$ and inclusion maps ${i}_{m,n}:G[m]\to G[n]$ for $m|n$. Thus, $\mathbb{Q}/\mathbb{Z}$ is isomorphic to the direct limit of the direct system of groups $\mathbb{Z}/n$ and maps ${i}_{m,n}:\mathbb{Z}/m\to \mathbb{Z}/n$ for $m|n$, ${i}_{m,n}(x)=\frac{n}{m}\cdot x$. The dual of the discrete abelian group $\mathbb{Z}/n$ is isomorphic to the compact abelian group $\mathbb{Z}/n$, and the dual of the map ${i}_{m,n}:\mathbb{Z}/m\to \mathbb{Z}/n$, for $m|n$, is the projection map ${\pi}_{n,m}:\mathbb{Z}/n\to \mathbb{Z}/m$. The dual of the direct system of groups $\mathbb{Z}/n$ and maps ${i}_{m,n}$ is the inverse system of groups $\mathbb{Z}/n$ and maps ${\pi}_{n,m}$, whose limit is a compact abelian group ${\mathbb{Z}}^{\wedge}$ called the profinite completion of the integers. It follows that

$$\widehat{\mathbb{Q}/\mathbb{Z}}\cong {\mathbb{Z}}^{\wedge}$$ |

as locally compact abelian groups, and thus also that

$$\prod _{p}{\mathbb{Z}}_{p}\cong {\mathbb{Z}}^{\wedge}$$ |

as locally compact abelian groups.

## 4 The p-adic integers

In this section we give a construction of the ring ${\mathbb{Z}}_{p}$. We have already defined
${\mathbb{Z}}_{p}$ as an inverse limit of compact abelian groups, and it can be proved that
the additive group of the
ring we construct here is indeed isomorphic as an abelian group to this inverse limit.^{4}^{4}
4
See Alain M. Robert, A Course in $p$-adic Analysis,
p. 33, §4.7.
(In this section we do not assign a topology to our construction of ${\mathbb{Z}}_{p}$.)
Our presentation in this section follows Robert.^{5}^{5}
5
Alain M. Robert, A Course in $p$-adic Analysis,
Chapter 1.

We start by defining objects, then put a group operation on the set of these objects.^{6}^{6}
6
Although constructing $p$-adic integers as formal
series is concrete, one must then be cautious lest one does things with these series that seem reasonable because of experience working with series
but that are not yet justified; defining $p$-adic integers as a completion of a metric space or as an inverse limit gives one abstract objects about which
one only knows universal properties, and thus is not susceptible to making moves that are not permitted.
Let $p$ be prime.
A $p$-adic integer is a formal series of the form

$$\sum _{i\ge 0}{a}_{i}{p}^{i},0\le {a}_{i}\le {p}_{i}-1.$$ |

We denote the set of $p$-adic integers by ${\mathbb{Z}}_{p}$. As sets,

$${\mathbb{Z}}_{p}=\prod _{i\ge 0}\{0,1,\mathrm{\dots},p-1\}={\{0,1,\mathrm{\dots},p-1\}}^{{\mathbb{Z}}_{\ge 0}}.$$ |

For $a={\sum}_{i\ge 0}{a}_{i}{p}^{i},b={\sum}_{i\ge 0}{b}_{i}{p}^{i}\in {\mathbb{Z}}_{p}$, we define $c=a+b$ inductively as follows. Define ${\u03f5}_{0}=0$ and define

$${c}_{0}=\{\begin{array}{cc}{a}_{0}+{b}_{0}\hfill & {a}_{0}+{b}_{0}\le p-1\hfill \\ {a}_{0}+{b}_{0}-p\hfill & {a}_{0}+{b}_{0}>p-1.\hfill \end{array}$$ |

Suppose that ${c}_{n}$ and ${\u03f5}_{n}$ have been defined. Now define

$${\u03f5}_{n+1}=\{\begin{array}{cc}0\hfill & {a}_{n}+{b}_{n}\le p-1\hfill \\ 1\hfill & {a}_{n}+{b}_{n}>p-1,\hfill \end{array}$$ |

and

$${c}_{n+1}=\{\begin{array}{cc}{a}_{n+1}+{b}_{n+1}+{\u03f5}_{n+1}\hfill & {a}_{n+1}+{b}_{n+1}+{\u03f5}_{n+1}\le p-1\hfill \\ {a}_{n+1}+{b}_{n+1}+{\u03f5}_{n+1}-p\hfill & {a}_{n+1}+{b}_{n+1}+{\u03f5}_{n+1}>p-1.\hfill \end{array}$$ |

For example, let $a=1{p}^{0}+0p+0{p}^{2}+\mathrm{\cdots}$ and $b=(p-1){p}^{0}+(p-1)p+(p-1){p}^{2}+\mathrm{\cdots}$, and put $c=a+b$. Then, ${\u03f5}_{0}=0$ and ${c}_{0}={a}_{0}+{b}_{0}-p=0$. Next, ${\u03f5}_{1}=1$, with which ${a}_{1}+{b}_{1}+{\u03f5}_{1}=0+(p-1)+1=p>p-1$, so ${c}_{1}=p-p=0$. Inductively, for any $n\ge 1$ we get that ${\u03f5}_{n}=1$ and ${c}_{n}=0$. Thus

$$a+b=0{p}^{0}+0{p}^{1}+0{p}^{2}+\mathrm{\cdots}.$$ |

For $a={\sum}_{i\ge 0}{a}_{i}{p}^{i}\in {\mathbb{Z}}_{p}$, define

$$\sigma (a)=\sum _{i\ge 0}(p-1-{a}_{i}){p}^{i}.$$ |

We check that this satisfies $a+\sigma (a)+1=0$, where $1\in {\mathbb{Z}}_{p}$ means $1{p}^{0}+0p+0{p}^{2}+\mathrm{\cdots}$. Thus, $1+\sigma (a)$ is the additive inverse of $a$, i.e.,

$$-a=1+\sigma (a).$$ |

With addition thus defined, ${\mathbb{Z}}_{p}$ is an abelian group, with identity $0=0{p}^{0}+0p+0{p}^{2}+\mathrm{\cdots}$. We define $\iota :\mathbb{Z}\to {\mathbb{Z}}_{p}$ as follows. For $n\in {\mathbb{Z}}_{\ge 0}$, there are unique $0\le {a}_{i}\le p-1$, all but finitely many $0$, such that $n={\sum}_{i\ge 0}{a}_{i}{p}^{i}$; this is a finite sum of nonnegative integers because all but finitely many of the ${a}_{i}$ are 0. We define $\iota (n)\in {\mathbb{Z}}_{p}$ to be the formal series ${\sum}_{i\ge 0}{a}_{i}{p}^{i}$. On the other hand, for $a={\sum}_{i\ge 0}{a}_{i}{p}^{i}\in {\mathbb{Z}}_{p}$ with all but finitely many of the ${a}_{i}$ equal to $0$, we have ${\sum}_{i\ge 0}{a}_{i}{p}^{i}\in {\mathbb{Z}}_{\ge 0}$ and $\iota ({\sum}_{i\ge 0}{a}_{i}{p}^{i})=a$. For $$, we define

$$\iota (n)=-\iota (-n)=1+\sigma (\iota (-n)).$$ |

$\iota :\mathbb{Z}\to {\mathbb{Z}}_{p}$ is a group homomorphism.

For example, take $n=-4$ and $p=3$. Then $\iota (-n)=\iota (4)=1\cdot {3}^{0}+1\cdot {3}^{1}+0\cdot {3}^{2}+\mathrm{\cdots}$, so $\sigma (\iota (4))=1\cdot {3}^{0}+1\cdot {3}^{1}+2\cdot {3}^{2}+\mathrm{\cdots}$. Then

$\iota (-4)$ | $=(1\cdot {3}^{0}+0\cdot {3}^{1}+0\cdot {3}^{2}+\mathrm{\cdots})+(1\cdot {3}^{0}+1\cdot {3}^{1}+2\cdot {3}^{2}+\mathrm{\cdots})$ | ||

$=2\cdot {3}^{0}+1\cdot {3}^{1}+2\cdot {3}^{2}+2\cdot {3}^{3}+2\cdot {3}^{4}+\mathrm{\cdots}$ |

Multiplication of $p$-adic integers is defined similarly to addition of $p$-adic integers.^{7}^{7}
7
That it is cumbersome to
define multiplication of elements of ${\mathbb{Z}}_{p}$ shows that defining $p$-adic integers as formal series invites sloppiness;
one merely assumes that everything works out like one wants it to.
For example, take $p=5$ and let $a=\iota (2\cdot {5}^{0}+2\cdot {5}^{1}+3\cdot {5}^{2})$
$b=\iota (3\cdot {5}^{0}+4\cdot {5}^{1})$. Then,

$$a\cdot b=\iota (1\cdot {5}^{0}+0\cdot {5}^{1}+0\cdot {5}^{2}+1\cdot {5}^{3}+3\cdot {5}^{4}).$$ |

For any prime $p$, $\iota (1)=1{p}^{0}+0{p}^{1}+0{p}^{2}+\mathrm{\cdots}$ and so

$\iota (-1)$ | $=1+\sigma (\iota (1))$ | ||

$=(1{p}^{0}+0{p}^{1}+0{p}^{2}+\mathrm{\cdots})+((p-2){p}^{0}+(p-1){p}^{1}+(p-1){p}^{2}+\mathrm{\cdots})$ | |||

$=(p-1){p}^{0}+(p-1){p}^{1}+(p-1){p}^{2}+\mathrm{\cdots}$ | |||

$=(p-1){\displaystyle \sum _{i\ge 0}}{p}^{i}.$ |

One then checks that

$$\iota (1)=(1-p)\sum _{i\ge 0}{p}^{i}.$$ |

Thus, the multiplicative inverse of $1-p$ in ${\mathbb{Z}}_{p}$ is ${\sum}_{i\ge 0}{p}^{i}$.

We define the $p$-adic valuation ${v}_{p}:{\mathbb{Z}}_{p}\to {\mathbb{Z}}_{\ge 0}\cup \{\mathrm{\infty}\}$ by ${v}_{p}(0)=\mathrm{\infty}$ and defining ${v}_{p}(a)$ to be the least $i$ such that ${a}_{i}\ne 0$. For example,

$${v}_{p}(0\cdot {p}^{0}+0\cdot {p}^{1}+3\cdot {p}^{2}+\mathrm{\cdots})=2.$$ |

If $a,b\in {\mathbb{Z}}_{p}$ are each nonzero, then for $c=a\cdot b$ we have $0\le {c}_{{v}_{p}(a)+{v}_{p}(b)}\le p-1$ and

$${c}_{{v}_{p}(a)+{v}_{p}(b)}\equiv {a}_{{v}_{p}(a)}{b}_{{v}_{p}(b)}\phantom{\rule{veryverythickmathspace}{0ex}}(modp)$$ |

and because $p\nmid {a}_{{v}_{p}(a)}$ and $p\nmid {b}_{{v}_{p}(b)}$, we have that ${c}_{{v}_{p}(a)+{v}_{p}(b)}\ne 0$. It follows that

$${v}_{p}(a\cdot b)={v}_{p}(a)+{v}_{p}(b).$$ |

In particular, this shows that ${\mathbb{Z}}_{p}$ is an integral domain.

## 5 Reduction modulo p, maximal ideals, and local rings

Define $\u03f5:{\mathbb{Z}}_{p}\to \mathbb{Z}/p$ by

$$\u03f5\left(\sum _{i\ge 0}{a}_{i}{p}^{i}\right)={a}_{0}+(p).$$ |

This is a homomorphism of unital rings called reduction modulo $p$. We have

$$\mathrm{ker}\u03f5=\{\sum _{i\ge 0}{a}_{i}{p}^{i}\in {\mathbb{Z}}_{p}:{a}_{0}=0\}=p{\mathbb{Z}}_{p}.$$ |

Because $\u03f5$ is a surjective homomorphism of unital rings and $\mathbb{Z}/p$ is a field, $\mathrm{ker}\u03f5$ is a maximal ideal
in the ring ${\mathbb{Z}}_{p}$. Denote by ${\mathbb{Z}}_{p}^{*}$ the set of invertible elements of ${\mathbb{Z}}_{p}$. It can be proved^{8}^{8}
8
Alain M. Robert, A Course in $p$-adic Analysis,
p. 5, §1.5.
that

$${\mathbb{Z}}_{p}^{*}={\mathbb{Z}}_{p}\setminus p{\mathbb{Z}}_{p}.$$ |

Because the set of noninvertible elements in ${\mathbb{Z}}_{p}$ is a proper ideal, ${\mathbb{Z}}_{p}$ is a local ring, and hence the maximal ideal $p{\mathbb{Z}}_{p}$ is the unique maximal ideal of ${\mathbb{Z}}_{p}$. For any nonzero $a\in {\mathbb{Z}}_{p}$, it is immediate that ${p}^{-{v}_{p}(a)}a\in {\mathbb{Z}}_{p}^{*}$; in other words, for any nonzero $a\in {\mathbb{Z}}_{p}$, there is some $u\in {\mathbb{Z}}_{p}^{*}$ such that $a={p}^{{v}_{p}(a)}u$.

We now prove that ${\mathbb{Z}}_{p}$ is a principal ideal domain.^{9}^{9}
9
Alain M. Robert, A Course in $p$-adic Analysis,
p. 6, §1.6.

###### Theorem 1.

The ideals in ${\mathbb{Z}}_{p}$ are $\{0\}$ and $({p}^{k})={p}^{k}{\mathbb{Z}}_{p}$, $k\in {\mathbb{Z}}_{\ge 0}$.

###### Proof.

It is straightforward to check that indeed these are ideals in ${\mathbb{Z}}_{p}$. Suppose that $I\ne \{0\}$ is an ideal in ${\mathbb{Z}}_{p}$. Since $I\ne \{0\}$, there is some element $a\in I$ such that

$${v}_{p}(a)=\mathrm{min}\{{v}_{p}(x):x\in I\}.$$ |

Let $k={v}_{p}(a)$. Then $u={p}^{-k}a\in {\mathbb{Z}}_{p}^{*}$, i.e., ${p}^{k}={u}^{-1}a$. Since $a\in I$ and $I$ is an ideal, this shows that ${p}^{k}\in I$. This shows that ${p}^{k}{\mathbb{Z}}_{p}\subset I$. On the other hand, let $b\in I$ and write $l={v}_{p}(b)$. There is some ${u}^{\prime}\in {\mathbb{Z}}_{p}^{*}$ such that $b={p}^{l}{u}^{\prime}$, and then $b={p}^{k}{p}^{l-k}{u}^{\prime}$. But $l-k\ge 0$ so ${p}^{l-k}{u}^{\prime}\in {\mathbb{Z}}_{p}$, hence $b\in {p}^{k}{\mathbb{Z}}_{p}$. This shows that $I\subset {p}^{k}{\mathbb{Z}}_{p}$, completing the proof. ∎

## 6 Topology of the p-adic integers

As sets,

$${\mathbb{Z}}_{p}=\prod _{i\ge 0}\{0,1,\mathrm{\dots},p-1\}={\{0,1,\mathrm{\dots},p-1\}}^{{\mathbb{Z}}_{\ge 0}}.$$ |

We assign ${\mathbb{Z}}_{p}$ the product topology, with which it is a compact and metrizable topological space. (It is compact because the set $\{0,1,\mathrm{\dots},p-1\}$ with the discrete topology is compact, and it is metrizable because it is a countable product and $\{0,1,\mathrm{\dots},p-1\}$ is metrizable with the discrete metric.) One checks that the product topology on ${\mathbb{Z}}_{p}$ is induced by the $p$-adic metric ${d}_{p}$ defined by

$${d}_{p}(a,b)={p}^{-{v}_{p}(a-b)}.$$ |

The map $a\mapsto pa$ satisfies

$${d}_{p}(pa,pb)={p}^{-{v}_{p}(pa-pb)}={p}^{-{v}_{p}(a-b)-1}=\frac{1}{p}{d}_{p}(a,b),$$ |

which shows that $a\mapsto pa$ is continuous ${\mathbb{Z}}_{p}\to {\mathbb{Z}}_{p}$.

We say that a group $G$ with a topology is a topological group if its topology is Hausdorff, if $(x,y)\mapsto x+y$ is continuous $G\times G\to G$, and if $x\mapsto -x$ is continuous $G\to G$. Because ${\mathbb{Z}}_{p}$ is metrizable it is Hausdorff, and we now prove that the group operations are continuous using its topology.

###### Theorem 2.

$(x,y)\mapsto x+y$ is continuous ${\mathbb{Z}}_{p}\times {\mathbb{Z}}_{p}\to {\mathbb{Z}}_{p}$ and $x\mapsto -x$ is continuous ${\mathbb{Z}}_{p}\to {\mathbb{Z}}_{p}$.

###### Proof.

The product topology on ${\mathbb{Z}}_{p}\times {\mathbb{Z}}_{p}$ is induced by the metric $\rho ((x,y),(a,b))={d}_{p}(x,a)+{d}_{p}(y,b)$. Let $(a,b)\in {\mathbb{Z}}_{p}\times {\mathbb{Z}}_{p}$. If $\rho ((x,y),(a,b))\le {p}^{-n}$, then ${p}^{-{v}_{p}(x-a)}={d}_{p}(x,a)\le {p}^{-n}$, hence ${v}_{p}(x-a)\ge n$, and likewise ${v}_{p}(y-b)\ge n$. But ${v}_{p}(w+z)\ge \mathrm{min}\{{v}_{p}(w),{v}_{p}(z)\}$ and ${v}_{p}(-w)={v}_{p}(w)$, so ${v}_{p}(x-a-(y-b))\ge n$. Thus

$${d}_{p}(x-a,y-b)={p}^{-{v}_{p}(x-a-(y-b))}\le {p}^{-n}.$$ |

This shows that $(x,y)\mapsto x-y$ is continuous at $(a,b)$, and since $(a,b)$ was arbitrary, $(x,y)\mapsto x-y$ is continuous ${\mathbb{Z}}_{p}\times {\mathbb{Z}}_{p}\to {\mathbb{Z}}_{p}$, showing that ${\mathbb{Z}}_{p}$ is a topological group. ∎

To prove that the multiplicative group ${\mathbb{Z}}_{p}^{*}$ is a topological group we use the following lemma. We remind ourselves that if $X$ is a topological space and $x\in X$, a neighborhood of $x$ is a subset $N$ of $X$ for which there is an open subset satisfying $x\in U\subset N$. The collection of all neighborhoods of a point $x$ is called the neighborhood filter at $x$. A neighborhood base at $x$ is a collection $\mathcal{B}$ of neighborhoods of $x$ such that if $N$ is a neighborhood of $x$ then there is some $B\in \mathcal{B}$ such that $B\subset N$; namely, a neighborhood base at $x$ is a filter base for the neighborhood filter at $x$.

###### Lemma 3.

The collection $\{1+{p}^{n}{\mathbb{Z}}_{p}:n\in {\mathbb{Z}}_{>0}\}$ is a neighborhood base at $1$.

${\mathbb{Z}}_{p}^{*}$ is metrizable with the $p$-adic metric,
so it is Hausdorff.
Using the above lemma, we can now prove that ${\mathbb{Z}}_{p}^{*}$ is a topological group, and then that
${\mathbb{Z}}_{p}$ is a topological ring.^{10}^{10}
10
Alain M. Robert, A Course in $p$-adic Analysis,
p. 18, §3.1.

###### Theorem 4.

$(x,y)\mapsto x\cdot y$ is continuous ${\mathbb{Z}}_{p}\times {\mathbb{Z}}_{p}\to {\mathbb{Z}}_{p}$ and $x\mapsto {x}^{-1}$ is continuous ${\mathbb{Z}}_{p}^{*}\to {\mathbb{Z}}_{p}^{*}$.

###### Proof.

Let $(a,b)\in {\mathbb{Z}}_{p}\times {\mathbb{Z}}_{p}$ and suppose that $x\in a+{p}^{n}{\mathbb{Z}}_{p}$ and $y\in b+{p}^{n}{\mathbb{Z}}_{p}$. Thus, there are $\alpha ,\beta \in {\mathbb{Z}}_{p}$ such that $x=a+{p}^{n}\alpha $ and $y=b+{p}^{n}\beta $. Then

$$x\cdot y=a\cdot b+{p}^{n}(a+b+{p}^{n}\alpha \cdot \beta )\in a\cdot b+{p}^{n}{\mathbb{Z}}_{p}.$$ |

This shows that $(x,y)\mapsto x\cdot y$ is continuous at $(a,b)$, and therefore that $(x,y)\mapsto x\cdot y$ is continuous ${\mathbb{Z}}_{p}\times {\mathbb{Z}}_{p}\to {\mathbb{Z}}_{p}$.

Let $a\in {\mathbb{Z}}_{p}^{*}$ and suppose that $x\in a+{p}^{n}{\mathbb{Z}}_{p}$. There is some $\alpha \in {\mathbb{Z}}_{p}$ such that $x=a(1+{p}^{n}\alpha )$, and then there is some $\beta \in {\mathbb{Z}}_{p}$ such that

$${(1+{p}^{n}\alpha )}^{-1}=\sum _{i\ge 0}{(-{p}^{n}\alpha )}^{i}=1+{p}^{n}\beta .$$ |

Then

$${x}^{-1}={a}^{-1}(1+{p}^{n}\beta )\in {a}^{-1}+{p}^{n}{\mathbb{Z}}_{p}.$$ |

This shows that $x\mapsto {x}^{-1}$ is continuous at $a$, and therefore that it is continuous ${\mathbb{Z}}_{p}^{*}\to {\mathbb{Z}}_{p}^{*}$. ∎

## 7 Rings of fractions and localization

Let $R$ be an integral domain with unity $1$. A subset $S$ of $R$ is said to be a
multiplicative set if $0\notin S$,
$1\in S$, and
$x,y\in S$ implies that $xy\in S$. The rings of fractions of $R$ with respect to $S$, denoted $R[{S}^{-1}]$, is defined as follows.^{11}^{11}
11
See
M. F. Atiyah and I. G. Macdonald, Introduction to Commutative Algebra, Chapter 3.
Define an equivalence relation $\sim $ on $R\times S$ by
$({r}_{1},{s}_{1})\sim ({r}_{2},{s}_{2})$ when

$${r}_{1}{s}_{2}-{r}_{2}{s}_{1}=0.$$ |

It is immediate that $\sim $ is reflexive and symmetric. If $({r}_{1},{s}_{1})\sim ({r}_{2},{s}_{2})$ and $({r}_{2},{s}_{2})\sim ({r}_{3},{s}_{3})$, then

$${r}_{1}{s}_{2}-{r}_{2}{s}_{1}=0,{r}_{2}{s}_{3}-{r}_{3}{s}_{2}=0,$$ |

so, multiplying the first equation by ${s}_{3}$ and the second equation by ${s}_{1}$ we get ${r}_{1}{s}_{2}{s}_{3}-{r}_{2}{s}_{1}{s}_{3}=0$ and ${r}_{2}{s}_{3}{s}_{1}-{r}_{3}{s}_{2}{s}_{1}=0$ respectively. Combining these we get ${r}_{1}{s}_{2}{s}_{3}={r}_{3}{s}_{2}{s}_{1}$, i.e. ${s}_{2}({r}_{1}{s}_{3}-{r}_{3}{s}_{1})=0$. Because ${s}_{2}\in S$, ${s}_{2}\ne 0$, giving

$${r}_{1}{s}_{3}-{r}_{3}{s}_{1}=0,$$ |

showing that $\sim $ is transitive. We remark that $\sim $ being transitive does not use that $S$ is closed under multiplication.

For $(r,s)\in R\times S$, let $[(r,s)]$ be the equivalence class of $(r,s)$, and we define

$$R[{S}^{-1}]=(R\times S)/\sim =\{[(r,s)]:(r,s)\in R\times S\}.$$ |

We define

$$[({r}_{1},{s}_{1})]+[({r}_{2},{s}_{2})]=[({r}_{1}{s}_{2}+{r}_{2}{s}_{1},{s}_{1}{s}_{2})].$$ |

Since $S$ is a multiplicative set, ${s}_{1}{s}_{2}\in S$. If $[({r}_{1},{s}_{1})]=[({r}_{1}^{\prime},{s}_{1}^{\prime})]$ and $[({r}_{2},{s}_{2})]=[({r}_{2}^{\prime},{s}_{2}^{\prime})]$, then ${r}_{1}{s}_{1}^{\prime}-{r}_{1}^{\prime}{s}_{1}=0$ and ${r}_{2}{s}_{2}^{\prime}-{r}_{2}^{\prime}{s}_{2}=0$ and thus

$({r}_{1}{s}_{2}+{r}_{2}{s}_{1})({s}_{1}^{\prime}{s}_{2}^{\prime})-({r}_{1}^{\prime}{s}_{2}^{\prime}+{r}_{2}^{\prime}{s}_{1}^{\prime})({s}_{1}{s}_{2})$ | $={r}_{1}{s}_{2}{s}_{1}^{\prime}{s}_{2}^{\prime}+{r}_{2}{s}_{1}{s}_{1}^{\prime}{s}_{2}^{\prime}$ | ||

$-{r}_{1}^{\prime}{s}_{2}^{\prime}{s}_{1}{s}_{2}-{r}_{2}^{\prime}{s}_{1}^{\prime}{s}_{1}{s}_{2}$ | |||

$={s}_{2}{s}_{2}^{\prime}({r}_{1}^{\prime}{s}_{1})+{s}_{1}{s}_{1}^{\prime}({r}_{2}^{\prime}{s}_{2})$ | |||

$-{r}_{1}^{\prime}{s}_{2}^{\prime}{s}_{1}{s}_{2}-{r}_{2}^{\prime}{s}_{1}^{\prime}{s}_{1}{s}_{2}$ | |||

$=0,$ |

showing that this definition of addition of equivalence classes is well-defined. One then checks that addition in $R[{S}^{-1}]$ is associative, that $[(0,1)]$ is the additive identity, that $-[(r,s)]=[(-r,s)]$, and that addition is commutative.

We define

$$[({r}_{1},{s}_{1})]\cdot [({r}_{2},{s}_{2})]=[({r}_{1}{r}_{2},{s}_{1}{s}_{2})].$$ |

If $[({r}_{1},{s}_{1})]=[({r}_{1}^{\prime},{s}_{1}^{\prime})]$ and $[({r}_{2},{s}_{2})]=[({r}_{2}^{\prime},{s}_{2}^{\prime})]$, then ${r}_{1}{s}_{1}^{\prime}-{r}_{1}^{\prime}{s}_{1}=0$ and ${r}_{2}{s}_{2}^{\prime}-{r}_{2}^{\prime}{s}_{2}=0$ and thus

$${r}_{1}{r}_{2}{s}_{1}^{\prime}{s}_{2}^{\prime}-{r}_{1}^{\prime}{r}_{2}^{\prime}{s}_{1}{s}_{2}={r}_{2}{s}_{2}^{\prime}({r}_{1}^{\prime}{s}_{1})-{r}_{1}^{\prime}{s}_{1}({r}_{2}{s}_{2}^{\prime})=0,$$ |

showing that this definition of multiplication of equivalence classes is well-defined. One then checks that multiplication in $R[{S}^{-1}]$ is associative, that $[(1,1)]$ is the multiplicative identity, that multiplication is commutative, and that multiplication distributes over addition. This establishes that $R[{S}^{-1}]$ is a commutative ring with unity $[(1,1)]]$.

Furthermore, if $[({r}_{1},{s}_{1})]\cdot [({r}_{2},{s}_{2})]=[(0,1)]$, i.e. if $[({r}_{1}{r}_{2},{s}_{1}{s}_{2})]=[(0,1)]$, then ${r}_{1}{r}_{2}\cdot 1-0\cdot {s}_{1}{s}_{2}=0$, so ${r}_{1}{r}_{2}=0$. Because $R$ is an integral domain, at least one of ${r}_{1},{r}_{2}$ is $0$, and hence at least one of $[({r}_{1},{s}_{1})],[({r}_{2},{s}_{2})]$ is $0$, showing that $R[{S}^{-1}]$ is an integral domain.

We define $j:R\to R[{S}^{-1}]$ by

$$j(x)=[(x,1)],x\in R.$$ |

For $x,y\in R$,

$$j(x+y)=[(x+y,1)]=[(x\cdot 1+y\cdot 1,1\cdot 1)]=[(x,1)]+[(y,1)]=j(x)+j(y),$$ |

and

$$j(xy)=[(xy,1)]=[(xy,1\cdot 1)]=[(x,1)]\cdot [(y,1)]=j(x)j(y),$$ |

and

$$j(1)=[(1,1)],$$ |

showing that $j$ is a homomorphism of unital rings. If $j(x)=j(y)$ then $[(x,1)]=[(y,1)]$, giving $x\cdot 1-y\cdot 1=0$, i.e. $x=y$, showing that $j$ is one-to-one. For $s\in S$,

$$j(s)\cdot [(1,s)]=[(s,1)]\cdot [(1,s)]=[(s,s)]=[(1,1)].$$ |

That is, $R$ is isomorphic as a ring to $j(R)$, $j(R)$ is a subring of $R[{S}^{-1}]$, and for any $s\in S$, $j(s)$ is invertible in $R[{S}^{-1}]$. Elements of $S$ need not be invertible in $R$, but elements of $j(S)$ are invertible in $R[{S}^{-1}]$.

Let $R$ be an integral domain, let $a\in R$ be nonzero, and let

$$S=\{{a}^{k}:k\in {\mathbb{Z}}_{\ge 0}\}.$$ |

$S$ is a multiplicative set, and we define

$$R[1/a]=R[{S}^{-1}],$$ |

called the localization of $R$ away from $a$. For example, for $a\in \mathbb{Z}$ nonzero, the map

$$[(m,s)]\mapsto \frac{m}{s},m\in \mathbb{Z},a\in S=\{{a}^{k}:k\in {\mathbb{Z}}_{\ge 0}\},$$ |

is a ring homomorphism $\mathbb{Z}[1/a]\to \mathbb{Q}$. We check that this map is one-to-one, and thus $\mathbb{Z}[1/a]$ is isomorphic as a ring to the collection of those $\frac{m}{s}\in \mathbb{Q}$ for which there is some $k\in {\mathbb{Z}}_{\ge 0}$ such that $s={a}^{k}$.

## 8 The field of p-adic numbers

We now construct ${\mathbb{Q}}_{p}$. A $p$-adic number is a formal series of the form, for some ${i}_{0}\in \mathbb{Z}$,

$$\sum _{i\ge {i}_{0}}{a}_{i}{p}^{i},0\le {a}_{i}\le {p}_{i}-1.$$ |

Thus, ${\mathbb{Z}}_{p}\subset {\mathbb{Q}}_{p}$, and, for example, ${p}^{-1}$ belongs to ${\mathbb{Q}}_{p}$ but does not belong to ${\mathbb{Z}}_{p}$. We extend the $p$-adic valuation ${v}_{p}:{\mathbb{Z}}_{p}\to {\mathbb{Z}}_{\ge 0}\cup \{\mathrm{\infty}\}$ to ${v}_{p}:{\mathbb{Q}}_{p}\to {\mathbb{Z}}_{\ge 0}\cup \{\mathrm{\infty}\}$ by defining ${v}_{p}(a)$ to be the least $i$ such that ${a}_{i}\ne 0$; indeed restricted to ${\mathbb{Z}}_{p}$ this is the $p$-adic valuation ${\mathbb{Z}}_{p}\to {\mathbb{Z}}_{\ge 0}\cup \{\mathrm{\infty}\}$. For nonzero $a\in {\mathbb{Q}}_{p}$ we have ${p}^{-{v}_{p}(a)}a=0$, and hence we have that ${p}^{-{v}_{p}(a)}a\in {\mathbb{Z}}_{p}$. For $a,b\in {\mathbb{Q}}_{p}$, taking $\nu =\mathrm{min}\{{v}_{p}(a),{v}_{p}(b)\}$, we have ${p}^{-\nu}a+{p}^{-\nu}b\in {\mathbb{Z}}_{p}$, and we define $a+b={p}^{\nu}({p}^{-\nu}a+{p}^{-\nu}b)\in {\mathbb{Q}}_{p}$; that is, we have already established addition in ${\mathbb{Z}}_{p}$, and we define addition in ${\mathbb{Q}}_{p}$ using this addition in ${\mathbb{Z}}_{p}$. Likewise, for $\mu ={v}_{p}(a)+{v}_{p}(b)$, we have $({p}^{-{v}_{p}(a)}a)\cdot ({p}^{-{v}_{p}(b)}b)\in {\mathbb{Z}}_{p}$, and we define $a\cdot b={p}^{\mu}(({p}^{-{v}_{p}(a)}a)\cdot ({p}^{-{v}_{p}(b)}b))\in {\mathbb{Q}}_{p}$. One then proves that with addition and multiplication thus defined, ${\mathbb{Q}}_{p}$ is a field.

For example, let us calculate the image of $\frac{5}{6}\in \mathbb{Q}$ in ${\mathbb{Q}}_{3}$. First, $\frac{5}{6}={3}^{-1}\cdot \frac{5}{2}$, and $\frac{5}{2}\in {\mathbb{Z}}_{3}$. We figure out that

$${2}^{-1}=2+1\cdot 3+1\cdot {3}^{2}+1\cdot {3}^{3}+1\cdot {3}^{4}+1\cdot {3}^{5}+\mathrm{\cdots}\in {\mathbb{Z}}_{3},$$ |

and then that

$$5\cdot {2}^{-1}=1+2\cdot 3+1\cdot {3}^{2}+1\cdot {3}^{3}+1\cdot {3}^{4}+1\cdot {3}^{5}+\mathrm{\cdots}\in {\mathbb{Z}}_{3}.$$ |

Thus

$$\frac{5}{6}=1\cdot {3}^{-1}+2+1\cdot 3+1\cdot {3}^{2}+1\cdot {3}^{3}+1\cdot {3}^{4}+\mathrm{\cdots}\in {\mathbb{Q}}_{3}.$$ |

It was not luck that the digits
$\frac{5}{6}$ in ${\mathbb{Q}}_{3}$ have a pattern: the digits of $x\in {\mathbb{Q}}_{p}$ are eventually
periodic if and only if $x$ is the image in ${\mathbb{Q}}_{p}$ of some element of $\mathbb{Q}$.^{12}^{12}
12
See Alain M. Robert, A Course in $p$-adic Analysis,
p. 39, §5.3.

One proves that as unital rings,

$${\mathbb{Q}}_{p}\cong {\mathbb{Z}}_{p}[1/p].$$ |

We define the $p$-adic absolute value $|\cdot {|}_{p}:{\mathbb{Q}}_{p}\to {\mathbb{R}}_{\ge 0}$ by

$${|x|}_{p}={p}^{-{v}_{p}(x)},x\in {\mathbb{Q}}_{p}.$$ |

Then we define the $p$-adic metric on ${\mathbb{Q}}_{p}$ by

$${d}_{p}(x,y)={|x-y|}_{p},x,y\in {\mathbb{Q}}_{p};$$ |

it is immediate that this is an extension of the $p$-adic metric on ${\mathbb{Z}}_{p}$.
It can be proved that with the topology induced by the $p$-adic metric, ${\mathbb{Q}}_{p}$ is a topological field.^{13}^{13}
13
We have defined ${\mathbb{Q}}_{p}$ using ${\mathbb{Z}}_{p}$ and then
defined a metric on ${\mathbb{Q}}_{p}$ and assigned ${\mathbb{Q}}_{p}$ the topology induced by this metric. ${\mathbb{Q}}_{p}$ is more satisfyingly
constructed as a direct limit whose limitands are ${\mathbb{Z}}_{p}$,
and this construction automatically gives ${\mathbb{Q}}_{p}$ a topology without us having to choose to use the $p$-adic metric. See Paul Garrett,
Classical definitions of ${\mathrm{Z}}_{p}$ and $\mathrm{A}$,
http://www.math.umn.edu/~garrett/m/mfms/notes/05_compare_classical.pdf
That is,
$(x,y)\mapsto x+y$ is continuous ${\mathbb{Q}}_{p}\times {\mathbb{Q}}_{p}\to {\mathbb{Q}}_{p}$ is continuous, $x\mapsto -x$ is continuous ${\mathbb{Q}}_{p}\to {\mathbb{Q}}_{p}$,
$(x,y)\mapsto x\cdot y$ is continuous ${\mathbb{Q}}_{p}\times {\mathbb{Q}}_{p}\to {\mathbb{Q}}_{p}$, and
$x\mapsto {x}^{-1}$ is continuous ${\mathbb{Q}}_{p}^{*}\to {\mathbb{Q}}_{p}^{*}$.
${\mathbb{Z}}_{p}$ is a compact neighborhood of $0$ in ${\mathbb{Q}}_{p}$, and because translation is a homeomorphism, it follows that
each point in ${\mathbb{Q}}_{p}$ has a compact neighborhood, and thus that ${\mathbb{Q}}_{p}$ is locally compact. Furthermore,

$${\mathbb{Q}}_{p}=\bigcup _{n\in \mathbb{Z}}{p}^{n}{\mathbb{Z}}_{p},$$ |

showing that ${\mathbb{Q}}_{p}$ is $\sigma $-compact.

## 9 p-adic fractional parts

We identify the localization of $\mathbb{Z}$ away from $p$, $\mathbb{Z}[1/p]$, with the collection of rational numbers whose denominator is of the form ${p}^{k},k\in {\mathbb{Z}}_{\ge 0}$. For example, $-\frac{6}{8}=-\frac{3}{4}\in \mathbb{Q}$ belongs to $\mathbb{Z}[1/2]$ but does not belong to $\mathbb{Z}[1/3]$. In particular, $\mathbb{Z}\subset \mathbb{Z}[1/p]$.

For $x\in {\mathbb{Q}}_{p}$, write

$$ |

${[x]}_{p}$ is called the integral part of $x$ and ${\{x\}}_{p}$ is called the fractional part of $x$. We have ${[x]}_{p}\in {\mathbb{Z}}_{p}$. The fractional part ${\{x\}}_{p}$ satisfies

$$ |

and also ${\{x\}}_{p}\in \mathbb{Z}[1/p]$.

In the rest of this section we follow Conrad.^{14}^{14}
14
Keith Conrad, The character group of $\mathrm{Q}$, http://www.math.uconn.edu/~kconrad/blurbs/gradnumthy/characterQ.pdf We use that fact that if $p,q$ are distinct primes, then $p\in {\mathbb{Z}}_{q}^{*}$ and hence

$$\mathbb{Z}[1/p]\subset {\mathbb{Z}}_{q}.$$ |

###### Theorem 5.

If $r\in \mathbb{Q}$, then

$$r-\sum _{p}{\{r\}}_{p}\in \mathbb{Z}.$$ |

###### Proof.

Let $q$ be prime. For prime $p\ne q$, we have ${\{r\}}_{p}\in \mathbb{Z}[1/p]\subset {\mathbb{Z}}_{q}$ and also $r-{\{r\}}_{q}={[r]}_{q}\in {\mathbb{Z}}_{q}$. Therefore

$$r-\sum _{p}{\{r\}}_{p}=(r-{\{r\}}_{q})-\sum _{p\ne q}{\{r\}}_{p}\in {\mathbb{Z}}_{q}.$$ |

Hence $q$ does not divide the denominator of $r-{\sum}_{p}{\{r\}}_{p}\in \mathbb{Q}$. But this is true for all prime $q$, which implies that $r-{\sum}_{p}{\{r\}}_{p}\in \mathbb{Z}$. ∎

We define ${\psi}_{p}:{\mathbb{Q}}_{p}\to {S}^{1}$ by

$${\psi}_{p}(x)={e}^{2\pi i{\{x\}}_{p}},x\in {\mathbb{Q}}_{p},$$ |

and we define ${\psi}_{\mathrm{\infty}}:\mathbb{R}\to {S}^{1}$ by

$${\psi}_{\mathrm{\infty}}(x)={e}^{-2\pi ix}={e}^{-2\pi i\{x\}},x\in \mathbb{R},$$ |

where $[x]$ is the greatest integer $\le x$ and $\{x\}=x-[x]$.
It is immediate that ${\psi}_{\mathrm{\infty}}$ is a homomorphism of topological groups. It satisfies ${\psi}_{\mathrm{\infty}}(\mathbb{R})={S}^{1}$ and
$\mathrm{ker}{\psi}_{\mathrm{\infty}}=\mathbb{Z}$. The first isomorphism theorem for topological groups states that if
$G$ and $H$ are topological groups and $f:G\to H$ is a homomorphism of topological groups that is onto and open, then
$G/\mathrm{ker}f\cong H$ as topological groups.^{15}^{15}
15
Dikran Dikranjan, Introduction to Topological Groups,
http://users.dimi.uniud.it/~dikran.dikranjan/ITG.pdf, p. 21, Theorem 3.4.2;
Karl Heinrich Hofmann, Introduction to Topological Groups,
http://www.mathematik.tu-darmstadt.de/lehrmaterial/SS2006/CompGroups/topgr.pdf, p. 35, Chapter 3.
The open mapping theorem for topological groups states that if $G$ and $H$ are locally compact topological
groups, $f:G\to H$ is an onto homomorphism of topological groups, and $G$ is $\sigma $-compact, then
$f$ is open.^{16}^{16}
16
Dikran Dikranjan, Introduction to Topological Groups,
http://users.dimi.uniud.it/~dikran.dikranjan/ITG.pdf, p. 42, Theorem 7.2.8.
These conditions are satisfied for ${\psi}_{\mathrm{\infty}}:\mathbb{R}\to {S}^{1}$, so ${\psi}_{\mathrm{\infty}}$ is open and therefore
by the first isomorphism theorem,

$$\mathbb{R}/\mathbb{Z}\cong {S}^{1}$$ |

as topological groups.

###### Theorem 6.

If $p$ is prime then ${\psi}_{p}:{\mathbb{Q}}_{p}\to {S}^{1}$ is a homomorphism of topological groups.

###### Proof.

Let $x,y\in {\mathbb{Q}}_{p}$. We have

$$x-{\{x\}}_{p}={[x]}_{p},y-{\{y\}}_{p}={[y]}_{p},x+y-{\{x+y\}}_{p}={[x+y]}_{p}\in {\mathbb{Z}}_{p}.$$ |

So

$\mathrm{\{}x\}{}_{p}+\{y\}{}_{p}-\{x+y\}{}_{p}$ | $=(x-{[x]}_{p})+(y-{[y]}_{p})-(x+y-{[x+y]}_{p})$ | ||

$={[x+y]}_{p}-{[x]}_{p}-{[y]}_{p}\in {\mathbb{Z}}_{p}.$ |

But ${\{x\}}_{p}+{\{y\}}_{p}-{\{x+y\}}_{p}\in \mathbb{Q}$, so the fact that it belongs to ${\mathbb{Z}}_{p}$ tells us that $p$ does not divide its denominator. On the other hand, because ${\{x\}}_{p},{\{y\}}_{p},{\{x+y\}}_{p}\in \mathbb{Z}[1/p]$, so ${\{x\}}_{p}+{\{y\}}_{p}-{\{x+y\}}_{p}\in \mathbb{Z}[1/p]$ and hence the denominator of ${\{x\}}_{p}+{\{y\}}_{p}-{\{x+y\}}_{p}\in \mathbb{Q}$ is of the form ${p}^{k}$, $k\in {\mathbb{Z}}_{\ge 0}$. Thus its denominator is $1$, showing that ${\{x\}}_{p}+{\{y\}}_{p}-{\{x+y\}}_{p}\in \mathbb{Z}$, say ${\{x+y\}}_{p}={\{x\}}_{p}+{\{y\}}_{p}+\nu $. Therefore

$${\psi}_{p}(x+y)={e}^{2\pi i{\{x+y\}}_{p}}={e}^{2\pi i{\{x\}}_{p}+2\pi i{\{y\}}_{p}+2\pi i\nu}={e}^{2\pi i{\{x\}}_{p}}{e}^{2\pi i{\{y\}}_{p}}={\psi}_{p}(x){\psi}_{p}(y),$$ |

showing that ${\psi}_{p}$ is a homomorphism of groups.

Because ${\psi}_{p}$ is a homomorphism of groups, to show that ${\psi}_{p}:{\mathbb{Q}}_{p}\to {S}^{1}$ is continuous it suffices to show that ${\psi}_{p}$ is continuous at $0\in {\mathbb{Q}}_{p}$. For ${|x|}_{p}\le 1={p}^{0}$, we have ${v}_{p}(x)\ge 0$, so $x\in {\mathbb{Z}}_{p}$ and hence ${\{x\}}_{p}=0$. Thus, for ${|x|}_{p}\le 1$ we have ${\psi}_{p}(x)=1={\psi}_{p}(0)$, showing that ${\psi}_{p}$ is continuous at $0$ and therefore that ${\psi}_{p}:{\mathbb{Q}}_{p}\to {S}^{1}$ is continuous. (Namely, because ${\psi}_{p}$ is a homomorphism of groups, what we have established shows that it is locally constant.) ∎

For $x\in {\mathbb{Q}}_{p}$ we have ${\{x\}}_{p}\in \mathbb{Z}[1/p]$, say ${\{x\}}_{p}=\frac{a}{{p}^{k}}$, for some $a\in \mathbb{Z}$ and $k\in {\mathbb{Z}}_{\ge 0}$, which implies that

$${({\psi}_{p}(x))}^{{p}^{k}}={({e}^{2\pi ia/{p}^{k}})}^{{p}^{k}}={e}^{2\pi ia}=1\in {S}^{1}.$$ |

Therefore,

$${\psi}_{p}(x)\in \mathbb{Z}({p}^{\mathrm{\infty}}),$$ |

the Prüfer $p$-group. One checks that

$${\psi}_{p}({\mathbb{Q}}_{p})=\mathbb{Z}({p}^{\mathrm{\infty}})$$ |

and that

$$\mathrm{ker}{\psi}_{p}={\mathbb{Z}}_{p}.$$ |

$\mathbb{Z}({p}^{\mathrm{\infty}})$ is a discrete abelian group and thus is locally compact. ${\mathbb{Q}}_{p}$ is locally compact (because $x+{\mathbb{Z}}_{p}$ is a compact neighborhood of $x\in {\mathbb{Q}}_{p}$) and $\sigma $-compact (because ${\mathbb{Q}}_{p}$ is equal to a countable union of dilations of ${\mathbb{Z}}_{p}$). Thus the conditions of the open mapping theorem are satisfied for ${\psi}_{p}:{\mathbb{Q}}_{p}\to \mathbb{Z}({p}^{\mathrm{\infty}})$, so ${\psi}_{p}$ is open. Therefore by the first isomorphism theorem,

$${\mathbb{Q}}_{p}/{\mathbb{Z}}_{p}\cong \mathbb{Z}({p}^{\mathrm{\infty}})$$ |

as topological groups.

In Theorem 6 we proved that the map $x\mapsto {e}^{2\pi i{\{x\}}_{p}}$ belongs to $\widehat{{\mathbb{Q}}_{p}}$, the Pontryagin dual of the additive locally compact abelian group ${\mathbb{Q}}_{p}$. For $y\in {\mathbb{Q}}_{p}$, define

$${\xi}_{p,y}:{\mathbb{Q}}_{p}\to {S}^{1}$$ |

by

$${\xi}_{p,y}(x)={\psi}_{p}(xy)={e}^{2\pi i{\{xy\}}_{p}},x\in {\mathbb{Q}}_{p},$$ |

and we check that ${\xi}_{p,y}\in \widehat{{\mathbb{Q}}_{p}}$.
It can in fact be proved that $y\mapsto {\xi}_{p,y}$ is an isomorphism of topological
groups
${\mathbb{Q}}_{p}\to \widehat{{\mathbb{Q}}_{p}}$.^{17}^{17}
17
Gerald B. Folland, A Course in Abstract Harmonic Analysis,
p. 92, Theorem 4.12.

## 10 The ring of adeles

We define $\mathbb{A}$ to be the set of those $x\in \mathbb{R}\times {\prod}_{p}{\mathbb{Q}}_{p}$ such that $\{p:{x}_{p}\notin {\mathbb{Z}}_{p}\}$ is finite. This is an instance of a restricted direct product. For example, $x$ defined by ${x}_{\mathrm{\infty}}=\sqrt{3}$, ${x}_{2}=\frac{1}{2}$, and ${x}_{p}=1$ for $p>2$ belongs to $\mathbb{A}$, while ${x}_{\mathrm{\infty}}=\sqrt{3}$, ${x}_{p}=\frac{1}{p}$ does not belong to $\mathbb{A}$. Elements of $\mathbb{A}$ are called adeles. It is apparent that with addition and multiplication defined pointwise, $\mathbb{A}$ is a commutative ring, with additive identity ${x}_{\mathrm{\infty}}=0,{x}_{p}=0$ for all $p$ and unity ${x}_{\mathrm{\infty}}=1$, ${x}_{p}=1$ for all $p$. We assign $\mathbb{A}$ the topology generated by the base of subsets of $\mathbb{A}$ of the form

$${\mathrm{\Omega}}_{\mathrm{\infty}}\times \prod _{p\in S}{\mathrm{\Omega}}_{p}\times \prod _{p\notin S}{\mathbb{Z}}_{p},$$ |

where
$S$ is a finite set of primes, ${\mathrm{\Omega}}_{p}$ is an open subset of ${\mathbb{Q}}_{p}$, and ${\mathrm{\Omega}}_{\mathrm{\infty}}$ is an open subset
of $\mathbb{R}$.^{18}^{18}
18
It is not apparent why we ought to use this topology. $\mathbb{A}$ can instead
be defined as a direct limit of topological rings ${\mathbb{A}}_{S}$, where $S$ is a finite subset of
$\{\mathrm{\infty}\}\cup \{\text{prime numbers}\}$. See Paul Garrett,
Classical definitions of ${\mathrm{Z}}_{p}$ and $\mathrm{A}$,
http://www.math.umn.edu/~garrett/m/mfms/notes/05_compare_classical.pdf
With this topology, $\mathbb{A}$ is a locally compact topological ring.^{19}^{19}
19
cf. W.
Narkiewicz, Elementary and Analytic Theory of Algebraic Numbers, p. 519, Appendix I, Lemma 1; Anton Deitmar, Automorphic Forms, Chapter 5;
Anthony W. Knapp, Advanced Real Analysis, Chapter VI.
In particular, the additive group $\mathbb{A}$ is a locally compact abelian group.

The map $s\mapsto x\in \mathbb{A}$ with ${x}_{\mathrm{\infty}}=s$, ${x}_{p}=s$ for all $p$, is a homomorphism of topological unital rings $\mathbb{Q}\to \mathbb{A}$. (It is immediate that it is a homomorphism of unital rings, and it is continuous because $\mathbb{Q}$ is discrete.) We identify $\mathbb{Q}$ with those elements $x$ of $\mathbb{A}$ for which there is some $s\in \mathbb{Q}$ such that ${x}_{\mathrm{\infty}}=s$ and ${x}_{p}=s$ for all prime $p$, which are called rational adeles.

For $x\in \mathbb{A}$, we define ${\mathrm{\Psi}}_{x}:\mathbb{Q}\to {S}^{1}$ by

$${\mathrm{\Psi}}_{x}(r)={\psi}_{\mathrm{\infty}}(r{x}_{\mathrm{\infty}})\cdot \prod _{p}{\psi}_{p}(r{x}_{p}),r\in \mathbb{Q}.$$ |

This is a homomorphism of topological groups, because each factor is a homomorphism of topological groups and for any $x\in \mathbb{A}$ and $r\in \mathbb{Q}$, the number of factors that are not equal to $1$ is finite.

###### Lemma 7.

$x\mapsto {\mathrm{\Psi}}_{x}$ is a homomorphism of topological groups $\mathbb{A}\to \widehat{\mathbb{Q}}$.

###### Proof.

Let $x,y\in \mathbb{A}$. For $r\in \mathbb{Q}$, because ${\psi}_{\mathrm{\infty}}$ and the ${\psi}_{p}$ are homomorphisms,

${\mathrm{\Psi}}_{x+y}(r)$ | $={\psi}_{\mathrm{\infty}}(r{x}_{\mathrm{\infty}}+r{y}_{\mathrm{\infty}})\cdot {\displaystyle \prod _{p}}{\psi}_{p}(r{x}_{p}+r{y}_{p})$ | ||

$={\psi}_{\mathrm{\infty}}(r{x}_{\mathrm{\infty}}){\psi}_{\mathrm{\infty}}(r{y}_{\mathrm{\infty}}){\displaystyle \prod _{p}}({\psi}_{p}(r{x}_{p}){\psi}_{p}(r{y}_{p}))$ | |||

$={\mathrm{\Psi}}_{x}(r){\mathrm{\Psi}}_{y}(r),$ |

showing that $x\mapsto {\mathrm{\Psi}}_{x}$ is a homomorphism of groups.

To show that $x\mapsto {\mathrm{\Psi}}_{x}$ is continuous $\mathbb{A}\to \widehat{\mathbb{Q}}$, it suffices to show that it is continuous at $0\in \mathbb{A}$. Generally, if $G$ is a locally compact abelian group, it is a fact that a local base at $0$ for the topology of $\widehat{G}$ is the collection of sets of the form

$$ |

where $K$ is a compact subset of $G$ and $\u03f5>0$.^{20}^{20}
20
Walter Rudin, Fourier Analysis on Groups, p. 10, §1.2.6.
Let $K$ be a compact subset of $\mathbb{Q}$ and let $\u03f5>0$. $\mathbb{Q}$ is discrete so $K$ is finite; take $R=\mathrm{max}\{|r|:r\in K\}$ and let
$S$ be the set of those primes $p$ for which there is some $r\in K$ with $r\notin {\mathbb{Z}}_{p}$.
Because ${\psi}_{\mathrm{\infty}}:\mathbb{R}\to {S}^{1}$ is continuous and $K$ is finite, there is an open neighborhood ${\mathrm{\Omega}}_{\mathrm{\infty}}$ of $0\in \mathbb{R}$ such that if
${x}_{\mathrm{\infty}}\in {\mathrm{\Omega}}_{\mathrm{\infty}}$
and $r\in K$ then $$. Furthermore,
because $K$ is finite, the set $S$ is finite
and therefore for each $p\in S$ there is some ${\nu}_{p}\in {\mathbb{Z}}_{\ge 0}$ such that if $r\in K$ then ${p}^{{\nu}_{p}}r\in {\mathbb{Z}}_{p}$.
Let ${\mathrm{\Omega}}_{p}={p}^{{\nu}_{p}}{\mathbb{Z}}_{p}$. Then, for ${x}_{p}\in {\mathrm{\Omega}}_{p}$ and $r\in K$ we have $r{x}_{p}\in {\mathbb{Z}}_{p}$.
It follows that if
$x\in {\mathrm{\Omega}}_{\mathrm{\infty}}\times {\prod}_{p\in S}{\mathrm{\Omega}}_{p}\times {\prod}_{p\notin S}{\mathbb{Z}}_{p}$ then
for all $r\in K$ we have
then $$. That is,
$x\in {\mathrm{\Omega}}_{\mathrm{\infty}}\times {\prod}_{p\in S}{\mathrm{\Omega}}_{p}\times {\prod}_{p\notin S}{\mathbb{Z}}_{p}$ implies that ${\mathrm{\Psi}}_{x}\in N(K,\u03f5)$,
showing that $x\mapsto {\mathrm{\Psi}}_{x}$ is continuous at $0$, and therefore that $x\mapsto {\mathrm{\Psi}}_{x}:\mathbb{A}\to \widehat{\mathbb{Q}}$ is continuous.
∎

###### Theorem 8.

For every $\chi \in \widehat{\mathbb{Q}}$ there is some $x\in \mathbb{A}$ such that $\chi ={\mathrm{\Psi}}_{x}$, and $\mathrm{ker}\mathrm{\Psi}=\mathbb{Q}$.

###### Proof.

There is a unique ${x}_{\mathrm{\infty}}\in [0,1)$ such that $\chi (1)={e}^{-2\pi i{x}_{\mathrm{\infty}}}={\psi}_{\mathrm{\infty}}({x}_{\mathrm{\infty}})$. Define ${\chi}_{\mathrm{\infty}}:\mathbb{Q}\to {S}^{1}$ by

$${\chi}_{\mathrm{\infty}}(r)={\psi}_{\mathrm{\infty}}(r{x}_{\mathrm{\infty}})={e}^{-2\pi ir{x}_{\mathrm{\infty}}},r\in \mathbb{Q}.$$ |

Then ${\chi}_{\mathrm{\infty}}\in \widehat{\mathbb{Q}}$ and ${\chi}_{\mathrm{\infty}}(1)=\chi (1)$. Further, define $\gamma :\mathbb{Q}\to {S}^{1}$ by

$$\gamma (r)=\frac{\chi (r)}{{\chi}_{\mathrm{\infty}}(r)},r\in \mathbb{Q}.$$ |

Then $\gamma \in \widehat{\mathbb{Q}}$, $\gamma (1)=1$, and $\chi (r)={\chi}_{\mathrm{\infty}}(r)\gamma (r)$. By Theorem 5, for any $s\in \mathbb{Q}$ we have

$${e}^{2\pi is}=\prod _{p}{e}^{2\pi i{\{s\}}_{p}}.$$ |

For $r\in \mathbb{Q}$, let ${s}_{r}\in \mathbb{Q}$ such that $\gamma (r)={e}^{2\pi i{s}_{r}}$. We define ${\chi}_{p}:\mathbb{Q}\to {S}^{1}$ by

$${\chi}_{p}(r)={\psi}_{p}({s}_{r})={e}^{2\pi i{\{{s}_{r}\}}_{p}},r\in \mathbb{Q}.$$ |

One checks that ${\chi}_{p}\in \widehat{\mathbb{Q}}$. For any $r\in \mathbb{Q}$,

$$\gamma (r)={e}^{2\pi i{s}_{r}}=\prod _{p}{e}^{2\pi i{\{{s}_{r}\}}_{p}}=\prod _{p}{\chi}_{p}(r),$$ |

whence

$$\chi (r)={\chi}_{\mathrm{\infty}}(r)\cdot \prod _{p}{\chi}_{p}(r).$$ |

Let $p$ be prime. For $n\ge 1$, using ${\chi}_{p}(1)={e}^{2\pi i{\{1\}}_{p}}=1$ we have ${\chi}_{p}{({p}^{-n})}^{{p}^{n}}={\chi}_{p}(1)=1$, and hence there is a unique ${c}_{n}$, $0\le {c}_{n}\le {p}^{n}-1$, such that

$${\chi}_{p}\left(\frac{1}{{p}^{n}}\right)={e}^{\frac{2\pi i{c}_{n}}{{p}^{n}}}.$$ |

For $n\ge m$,

$${\chi}_{p}{\left(\frac{1}{{p}^{n}}\right)}^{{p}^{n-m}}={\chi}_{p}\left(\frac{1}{{p}^{m}}\right)={e}^{\frac{2\pi i{c}_{m}}{{p}^{m}}},$$ |

which yields $\frac{{c}_{n}}{{p}^{m}}-\frac{{c}_{m}}{{p}^{m}}\in \mathbb{Z}$, i.e. ${c}_{n}-{c}_{m}\in {p}^{m}\mathbb{Z}$, i.e. ${|{c}_{n}-{c}_{m}|}_{p}\le {p}^{-m}$. It follows that ${c}_{n}$ is a Cauchy sequence in $(\mathbb{Z},{d}_{p})$, and therefore there is some ${x}_{p}\in {\mathbb{Z}}_{p}$ such that ${c}_{n}\to {x}_{p}$ in ${\mathbb{Z}}_{p}$. This limit ${x}_{p}$ satisfies ${x}_{p}-{c}_{n}\in {p}^{n}{\mathbb{Z}}_{p}$ for all $n$, so $\frac{{x}_{p}}{{p}^{n}}-\frac{{c}_{n}}{{p}^{n}}\in {\mathbb{Z}}_{p}$ for all $n$, hence, as $0\le {c}_{n}\le {p}^{n}-1$,

$${\left\{\frac{{x}_{p}}{{p}^{n}}\right\}}_{p}={\left\{\frac{{c}_{n}}{{p}^{n}}\right\}}_{p}=\frac{{c}_{n}}{{p}^{n}},n\ge 1.$$ | (2) |

Let $r=\frac{a}{b}\in \mathbb{Q}$, $\mathrm{gcd}(a,b)=1$ and let $b={p}^{n}\beta $ with $n={v}_{p}(b)$. Then, because ${\chi}_{p}\in \widehat{\mathbb{Q}}$ and by the definition of ${c}_{n}$,

$${\chi}_{p}{(r)}^{\beta}={\chi}_{p}(\beta r)={\chi}_{p}\left(\frac{a}{{p}^{n}}\right)={\chi}_{p}{\left(\frac{1}{{p}^{n}}\right)}^{a}={\left({e}^{\frac{2\pi i{c}_{n}}{{p}^{n}}}\right)}^{a}=\mathrm{exp}\left(\frac{2\pi ia{c}_{n}}{{p}^{n}}\right).$$ |

Furthermore, by (2) we have

$$\frac{a{c}_{n}}{{p}^{n}}+\mathbb{Z}=a\cdot {\left\{\frac{{x}_{p}}{{p}^{n}}\right\}}_{p}+\mathbb{Z}={\left\{\frac{a{x}_{p}}{{p}^{n}}\right\}}_{p}+\mathbb{Z}={\{\beta r{x}_{p}\}}_{p}+\mathbb{Z}=\beta {\{r{x}_{p}\}}_{p}+\mathbb{Z},$$ |

so

$${\chi}_{p}{(r)}^{\beta}=\mathrm{exp}\left(\frac{2\pi ia{c}_{n}}{{p}^{n}}\right)=\mathrm{exp}(2\pi i\beta {\{r{x}_{p}\}}_{p})=\mathrm{exp}{(2\pi i{\{r{x}_{p}\}}_{p})}^{\beta},$$ |

giving

$${\left(\frac{{\chi}_{p}(r)}{\mathrm{exp}(2\pi i{\{r{x}_{p}\}}_{p})}\right)}^{\beta}=1.$$ |

But ${\chi}_{p}(r)$ and $\mathrm{exp}(2\pi i{\{r{x}_{p}\}}_{p})$ are both $p$th roots of unity and $\mathrm{gcd}(\beta ,p)=1$, so this implies that

$${\chi}_{p}(r)=\mathrm{exp}(2\pi i{\{r{x}_{p}\}}_{p})={\psi}_{p}(r{x}_{p}),r\in \mathbb{Q}.$$ |

Then $x$ thus defined belongs to $\mathbb{A}$, and for any $r\in \mathbb{Q}$,

$${\mathrm{\Psi}}_{x}(r)={\psi}_{\mathrm{\infty}}(r{x}_{\mathrm{\infty}})\cdot \prod _{p}{\psi}_{p}(r{x}_{p})={\chi}_{\mathrm{\infty}}(r)\cdot \prod _{p}{\chi}_{p}(r)=\chi (r).$$ |

Therefore ${\mathrm{\Psi}}_{x}=\chi $.

On the other hand, suppose that $x,y\in [0,1)\times {\prod}_{p}{\mathbb{Z}}_{p}$ and that ${\mathrm{\Psi}}_{x}={\mathrm{\Psi}}_{y}$. Because ${x}_{p}\in {\mathbb{Z}}_{p}$ for each prime $p$,

$${\mathrm{\Psi}}_{x}(1)={\psi}_{\mathrm{\infty}}({x}_{\mathrm{\infty}})\cdot \prod _{p}{\psi}_{p}({x}_{p})={e}^{-2\pi i{x}_{\mathrm{\infty}}}\cdot \prod _{p}{e}^{2\pi i{\{{x}_{p}\}}_{p}}={e}^{-2\pi i{x}_{\mathrm{\infty}}},$$ |

and likewise ${\mathrm{\Psi}}_{y}(1)={e}^{-2\pi i{y}_{\mathrm{\infty}}}$. As ${e}^{-2\pi i{x}_{\mathrm{\infty}}}={e}^{-2\pi i{y}_{\mathrm{\infty}}}$ and ${x}_{\mathrm{\infty}},{y}_{\mathrm{\infty}}\in [0,1)$, it follows that ${x}_{\mathrm{\infty}}={y}_{\mathrm{\infty}}$. Let $p$ be prime and let $n\ge 0$. On the one hand, for $q\ne p$ we have ${p}^{-n}{x}_{q}\in {\mathbb{Z}}_{q}$, whence, as ${x}_{\mathrm{\infty}}={y}_{\mathrm{\infty}}$,

$\frac{{\mathrm{\Psi}}_{x}({p}^{-n})}{{\mathrm{\Psi}}_{y}({p}^{-n})}$ | $={\displaystyle \frac{{\psi}_{\mathrm{\infty}}({p}^{-n}{x}_{\mathrm{\infty}})\cdot {\prod}_{q}{\psi}_{q}({p}^{-n}{x}_{p})}{{\psi}_{\mathrm{\infty}}({p}^{-n}{y}_{\mathrm{\infty}})\cdot {\prod}_{q}{\psi}_{q}({p}^{-n}{y}_{p})}}$ | ||

$={\displaystyle \frac{{\psi}_{\mathrm{\infty}}({p}^{-n}{x}_{\mathrm{\infty}})\cdot {\psi}_{p}({p}^{-n}{x}_{p})}{{\psi}_{\mathrm{\infty}}({p}^{-n}{y}_{\mathrm{\infty}})\cdot {\psi}_{p}({p}^{-n}{y}_{p})}}$ | |||

$={\displaystyle \frac{{\psi}_{p}({p}^{-n}{x}_{p})}{{\psi}_{p}({p}^{-n}{y}_{p})}}$ | |||

$={e}^{2\pi i{\{{p}^{-n}{x}_{p}\}}_{p}-2\pi i{\{{p}^{-n}{y}_{p}\}}_{p}}.$ |

But ${\mathrm{\Psi}}_{x}={\mathrm{\Psi}}_{y}$, so ${\{{p}^{-n}{x}_{p}\}}_{p}-{\{{p}^{-n}{y}_{p}\}}_{p}\in \mathbb{Z}$, and since $$ this means

$${\{{p}^{-n}{x}_{p}\}}_{p}={\{{p}^{-n}{y}_{p}\}}_{p}.$$ |

Because this is true for each $n\ge 0$, it follows that ${x}_{p}={y}_{p}$. Therefore, $x=y$.

Let $x\in \mathbb{A}$ and suppose that if $p\notin S$ then ${x}_{p}\in {\mathbb{Z}}_{p}$. Define

$$s=\sum _{p\in S}{\{{x}_{p}\}}_{p}.$$ |

Then for all prime $p$ we have ${\{{x}_{p}-s\}}_{p}=0$ and so ${x}_{p}-s\in {\mathbb{Z}}_{p}$. Therefore $x-s\in \mathbb{R}\times {\prod}_{p}{\mathbb{Z}}_{p}$. Let $N=[{x}_{\mathrm{\infty}}-s]$, with which ${x}_{\mathrm{\infty}}-(s+N)=({x}_{\mathrm{\infty}}-s)-N\in [0,1)$. For any prime $p$ we have $N\in {\mathbb{Z}}_{p}$ and so, as ${x}_{p}-s\in \mathbb{Z}$, we have ${x}_{p}-(s+N)=({x}_{p}-s)-N\in {\mathbb{Z}}_{p}$. Thus

$$x-(s+N)\in [0,1)\times \prod _{p}{\mathbb{Z}}_{p},$$ |

and therefore

$$\mathbb{A}=\mathbb{Q}+[0,1)\times \prod _{p}{\mathbb{Z}}_{p}.$$ |

For $s\in \mathbb{Q}\subset \mathbb{A}$ and $r\in \mathbb{Q}$, then by Theorem 5,

${\mathrm{\Psi}}_{s}(r)$ | $={\psi}_{\mathrm{\infty}}(rs)\cdot {\displaystyle \prod _{p}}{\psi}_{p}(rs)$ | ||

$={e}^{-2\pi irs}\cdot {\displaystyle \prod _{p}}{e}^{2\pi i{\{rs\}}_{p}}$ | |||

$=1.$ |

Hence $\mathbb{Q}\subset \mathrm{ker}\mathrm{\Psi}$. ∎

$\mathbb{A}$ is a $\sigma $-compact locally compact abelian group and $\mathrm{\Psi}:\mathbb{A}\to \widehat{\mathbb{Q}}$ is an onto homomorphism of topological groups, so by the open mapping theorem for topological groups, $\mathrm{\Psi}$ is open. Then by the first isomorphism theorem for topological groups, because $\mathrm{ker}\mathrm{\Psi}=\mathbb{Q}$, we have

$$\widehat{\mathbb{Q}}\cong \mathbb{A}/\mathbb{Q}$$ |

as topological groups.