Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Fundamental parallelepiped in the adeles of a number field

Definition
RiemannMasullo_AdeleFundamentalDomain

by dga471 · Nov 20, 2026 · Mathlib 0df444a (Lean v4.33.1)

adelesriemann-masullo

The infinite domain is the half-open parallelepiped determined by the real basis from an integral basis. The adelic domain also requires integrality at every finite place.

Definition code
import Mathlib
import Definitions.Def_RiemannMasullo_AdelicExtensions

noncomputable section
namespace RiemannMasullo
open Function NumberField IsDedekindDomain Topology
open InfinitePlace.Completion
open scoped Classical NNRat NNReal NumberField.AdeleRing Pointwise
variable (F : Type*) [Field F] [NumberField F]
variable {ι : Type*} (b : Module.Basis ι ℤ (𝓞 F))
def infiniteAdeleFundamentalDomain : Set (InfiniteAdeleRing F) :=
  let j := ((mixedEmbedding F).comp (algebraMap (𝓞 F) F)).toIntAlgHom.toLinearMap
  let e := LinearEquiv.ofInjective j ((mixedEmbedding_injective F).comp RingOfIntegers.coe_injective)
  (InfiniteAdeleRing.ringEquiv_mixedSpace F) ⁻¹'
    ZSpan.fundamentalDomain ((b.map e).ofZLatticeBasis ℝ (mixedEmbedding.integerLattice F))
def adeleFundamentalDomain : Set 𝔸[F] :=
  {a | a.1 ∈ infiniteAdeleFundamentalDomain F b ∧ a ∈ integralAdelesOutside F ∅}
end RiemannMasullo
Source
https://github.com/mccorvie/riemann-masullo/blob/8a05ee179a90e12e33a590c6412a9e9de416fa30/RiemannMasullo/AppA_AlgebraicNT/Sec2.lean#L36-L57

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me