Skip to content

The proof that the adele ring of a number field is locally compact, formalised in Lean 4.

License

Notifications You must be signed in to change notification settings

smmercuri/adele-ring_locally-compact

Repository files navigation

Local Compactness of the Adele Ring of a Number Field

This repository contains the proof that the adele ring of a number field is locally compact, formalised in Lean 4.7.0 using Mathlib's version eaede86.

That the adele ring of a number field is locally compact is one of the motivators for defining the adele ring using the restricted direct product over all completions, rather than just the usual direct product. Moreover, this allows one to do harmonic analysis over the subgroup of units of the adele ring which was done in Tate's landmark thesis, a precursor to the Langlands program.

This work follows on from prior work of Maria Inés de Frutos-Fernández, who first formalised the definition of the adele ring of a global field here, some of which has been ported to Mathlib's version eaede86, and we also use some results from their recent work with Filippo A. E. Nuccio here, namely we port some foundational results on discrete valuations.

Overview of the proof

Introduction

Let $K$ be an algebraic number field over $\mathbb{Q}$ and let $O_K$ be its ring of integers, which is a Dedekind domain of Krull dimension $1$. By the extension of Ostrowski's theorem to number fields any valuation on $K$ is equivalent to some $\mathfrak{p}$-adic valuation on $K$ or an absolute value arising from the real and complex embeddings of $K$. Equivalence classes of valuations on $K$ are known as places. Thus places of $K$ are indexed by the real/complex embeddings of $K$ and by the primes $\mathfrak{p}$ of $O_K$; the former are called the infinite places and the latter the finite places.

Let $v$ be a place of $K$, then we denote by $K_v$ the completion of $K$ with respect to some representative valuation of the place $v$. The place $v$ extends naturally to a place on $K_v$, which we denote by $|\cdot|_v$. The integral closure of $O_K$ inside $K_v$ is called the ($v$-adic) ring of integers and is denoted $O_v$; this corresponds to the ring of all $x \in K_v$ such that $|x|_v \le 1$.

The direct product of completions of $K$ at finite places is denoted $$\widehat{K} := \prod_{v\ \text{finite}} K_v.$$ This product is not locally compact, given the product topology. On the other hand, we define the finite adele ring as the restricted direct product $$\mathbb{A}_{K, f} = \prod_{v\ \text{finite}}(K_v, O_v) := \{x \in \widehat{K} \mid x_v \in O_v\ \text{for all but finitely many}\ v\},$$ with basis of open sets $$\left\{ \prod_{v\ \text{finite}} V_v \mid V_v \subseteq K_v\ \text{open and}\ V_v = O_v\ \text{for all but finitely many}\ v\right\}.$$ We will prove below that $\mathbb{A}_{K, f}$ is locally compact.

The infinite adele ring is given as the (finite) direct product of the real/complex completions of $K$ at the real/complex places $$\mathbb{A}_{K, \infty} := \prod_{v\ \text{infinite}} K_v.$$

The adele ring of $K$ is then given as the product of the infinite and finite adele rings: $$\mathbb{A}_K := \mathbb{A}_{K, \infty} \times \mathbb{A}_{K, f}.$$

Compactness of $O_v$

Suppose now that $v$ is a finite place. A crucial result that will play a role later is that the $v$-adic ring of integers $O_v$ is compact. It suffices to show that $O_v$ is complete and totally bounded. For completeness, we show that it is closed, which can be proven in a similar way to the proof that it is open. Indeed, since the valuation is discrete, any open set is also closed. Since $O_v$ is a closed set in a complete space, it is also complete.

For $O_v$ to be totally bounded means that for some fixed radius $\gamma$ > 0, we can cover $O_v$ with finitely many open balls of radius $\gamma$. If $\gamma > 1$, then we can just take the open ball centred at zero and radius $\gamma$, as this contains $O_v$. The discreteness of the $v$-adic valuation means that each $\gamma \le 1$ corresponds to some integer $\mu(\gamma)\ge 0$ in the sense that the ball of radius $\gamma$ is equal to the ball of radius $|\pi_v|_v^{\mu(\gamma)}$, where $\pi_v$ generates the unique maximal ideal $\mathfrak{m}_v$ of $O_v$. We note also that the residue field $O_v/\mathfrak{m}_v$ is finite. For any $n > 0$, $O_v/(\mathfrak{m}_v^n)$ is therefore also finite as it can be viewed as $n$ copies of $O_v/\mathfrak{m}_v$. Hence, for a fixed $\gamma \le 1$, we take the finitely-many representatives from $O_v/(\mathfrak{m}_v^{\mu(n) + 1})$ and it can be checked that the balls centred at these representatives of radius $\gamma$ form a finite cover of $O_v$. This completes the proof that $O_v$ is compact.

Local compactness of $K_v$

Let $x \in K_v$ and $N$ be a neighbourhood of $x$. Because any open set is closed, the maximal ideal $\mathfrak{m}_v$ is closed and, since it is a closed subset of the compact space $O_v$, it is also compact. Then $N$ contains a compact neighbourhood of $x$ because: we can always translate and shrink $\mathfrak{m}_v$ so that it is inside $N$; the continuous image of an open compact set is also compact; and the image under translation and shrinking evidently remains open.

Local compactness of $\mathbb{A}_{K, f}$

The local compactness of the finite adele ring is difficult to show directly. Instead, we note that it suffices to cover $\mathbb{A}_{K, f}$ with open and locally compact subsets. Then any neighbourhood of $x$ contains a compact neighbourhood by intersecting with the compact neighbourhood containing $x$ obtained from one of the locally compact subsets. To achieve this we use the finite $S$-adele ring $\mathbb{A}_{S, K, f}$, where $S$ is some finite set of finite places, defined by $$\mathbb{A}_{S, K, f} := \{x \in \widehat{K} \mid x_v \in O_v\ \text{for all}\ v \notin S\}.$$ This clearly belongs to the basis of open sets for $\mathbb{A}_{K, f}$, hence it is open. Moreover, through the map $x\mapsto ((x_v)_{v\in S}, (x_v)_{v\notin S})$, it is homeomorphic to $$\widehat{K}_S := \prod_{v \in S} K_v \times \prod_{v\notin S} O_v,$$ which is locally compact as $\prod_{v\in S} K_v$ is a finite product of locally compact spaces and $\prod_{v\notin S} O_v$ is an infinite product of compact spaces. Therefore $\mathbb{A}_{S, K, f}$ is locally compact as well. Finally, the finite $S$-adele rings cover $\mathbb{A}_{K, f}$ since $x \in \mathbb{A}_{S(x), K, f}$, where $S(x)$ is the (finitely-many) places $v$ such that $x \notin O_v$.

Local compactness of $\mathbb{A}_{K, \infty}$

The infinite adele ring $\mathbb{A}_{K, \infty}$ is locally compact because it is a finite product of the completions $K_v$, where $v$ is an infinite place, each of which are locally compact.

Local compactness of $\mathbb{A}_{K}$

The adele ring is locally compact because it is the direct product of the infinite and finite adele rings, each of which have been shown to be locally compact.

Overview of the code

The high-level code structure is modelled after the structure of Mathlib version eaede86. In line with the above proof overview, we break down the specific location of results in the various files.

Compactness of $O_v$

The proofs that $O_v$ is totally bounded, complete, and therefore compact can be found in AdeleRingLocallyCompact/RingTheory/DedekindDomain/AdicValuation.lean.

  • The result that $O_v$ is compact is here.

Local compactness of $K_v$

Local compactness of $\mathbb{A}_{K, f}$

Local compactness of $\mathbb{A}_{K, \infty}$

Local compactness of $\mathbb{A}_{K}$

Implementation notes

We collect some implementation notes and describe the Lean proof of the local compactness of the finite $S$-adele ring here.

  • AdeleRingLocallyCompact/RingTheory/DedekindDomain/AdicValuation.lean currently contains some results that have been adapted from prior work (M.I. de Frutos-Fernández, F.A.E. Nuccio, A Formalization of Complete Discrete Valuation Rings and Local Fields) into Lean 4. One result remains unproven, which is the finiteness of the residue field of $O_v$. This also appears in (M.I. de Frutos-Fernández, F.A.E. Nuccio, A Formalization of Complete Discrete Valuation Rings and Local Fields). Once these results are available in Mathlib these will be updated accordingly.
  • The finite $S$-adele ring is formalised as a subring of $\widehat{K}$, in an analogous way to the formalisation of $\mathbb{A}_{K, f}$. It is given the subspace topology of $\mathbb{A}_{K, f}$ by inducing along the open embedding $\mathbb{A}_{S, K, f} \hookrightarrow \mathbb{A}_{K, f}$. This is the same as the topology obtained as a subtype of $\widehat{K}$.
  • The equivalence and homeomorphism between $\widehat{K}$ and $\widehat{K}_S$ are given, respectively, by Mathlib's Equiv.piEquivPiSubtypeProd and Homeomorph.piEquivPiSubtypeProd.
  • The above homeomorphism then descends to a homeomorphism $\mathbb{A}_{S, K, f}\cong \prod_{v\in S} K_v \times \prod_{v\notin S} O_v$, when the right-hand side is seen as a subtype of $\widehat{K}_S$.
  • There is a homeomorphism between $\prod_{v\in S} K_v \times \prod_{v\notin S} O_v$ when viewed as a subtype of $\widehat{K}_S$ vs. when it is defined as a topological space in its own right (i.e., with product topology). It is easy to show that the latter is locally compact using standard locally compact product results.
  • This chain of homeomorphisms gives the proof of the local compactness of $\mathbb{A}_{S, K, f}$.

TODOs

  • Incorporate the proof that v.adicCompletionIntegers K has finite residue field.
  • v2.0 : Show that $K$ is a discrete and cocompact subgroup of the additive group of $\mathbb{A}_K$.
    • Define the adelic norm.
    • Prove the product formula for global adeles: if $x \in K \subseteq \mathbb{A}_K$ then $|x| = 1$.
    • This is enough to show that $K$ is a discrete subgroup.
    • Prove base change for adele rings : if $K/L$ then $\mathbb{A}_L = \mathbb{A}_K\otimes_K L$.
    • Helper result: for all finite places $v$, if $y \in K_v$ then there exists $x \in K$ such that $|y - x|_v\le 1$ and $|x|_w \le 1$ for all $w \ne v$.
    • This is enough to show that $\mathbb{A}_{\mathbb{Q}}/\mathbb{Q}$ is compact, since it's the continuous image of the compact set $\{x \in \mathbb{A}_{\mathbb{Q}}\mid \forall v, |x|_v \le 1\}$. Then use base change for general $K$.
  • v3.0 : Show the idele group is locally compact. Probably requires refactoring the current code as follows.
    • Define ProdAdicCompletions.IsRestrictedProduct (X : Subring (ProdAdicCompletions R K) (U : v \\to (Subring (v.adicCompletion K))))
    • Refactor the current proof of local compactness of adele ring to show that ProdAdicCompletions.IsRestrictedProduct is locally compact (requires the assumption that U v are all compact).
    • Then local compactness of finite adele ring follows immediateley with U v = v.adicCompletionIntegers K
    • Define idele ring as group of units with unit topology.
    • Show this is IsRestrictedProduct where U v = (v.adicCompletionIntegers K)^*, therefore locally compact.

About

The proof that the adele ring of a number field is locally compact, formalised in Lean 4.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages