RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Relations at split primes

Lib.ClassField.GreenbergWiles.Relations.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

Let M be a discrete Galois module with local conditions at a finite set S of primes; Z(P) (cocycles P) is the group of cocycles allowed at each prime of S, zero at complex conjugations, unramified outside S ∪ P. A relation is a function on an open normal subgroup U with values in the dual of M that has the properties of the restriction of a dual cocycle, among them the reciprocity law at primes that are split for U. The module of relations takes the place of the dual Selmer group: at a split prime where the relation y is unramified, y(φ)(z(γ)) is the local pairing of y with a cocycle z.

Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.

Rest of upstream introduction

Rest of upstream introduction
  • New.SplitPrime, New.RelationSetting: split primes, and the module with its local conditions.
  • New.RelationSetting.relations: the relations off a finite set T; there are finitely many if M is finite.
  • New.RelationSetting.exists_splitPlaces_forall_exists_mem_relations: one family of split primes gives relations at all split primes.
  • New.RelationSetting.exists_card_cocycles_le: a lower bound for the number of relations.

Notions from other files:

  • New.IsLargeLevel.SplitPlaces: a family s of distinct primes s.v i prime to a level q, with Frobenius elements s.φ i in U at places s.valuationSubring i above s.v i; inertia at the primes prime to q lies in U, and I is the union of the inertia groups above those primes not in the family. Its property FrobeniiDetectRoots says that an m-th root of a q-unit of the field of U that all s.φ i fix is fixed by U.
  • New.IsLargeLevel.fixedSUnits q U: the q-units of the field of U; New.unitsRep is the Galois action on Ωˣ, written additively.
  • New.cyclotomicCharMod: the cyclotomic character modulo m.

Relation to the literature

Part of a known result: Greenberg–Wiles formula, as a lower bound for the dual side. See Lib.ClassField.GreenbergWiles.CocycleCounts. Source: Darmon, Diamond, Taylor, Fermat's Last Theorem, Theorem 2.19; the case that is used is proved here.

Pinned source lines

Declarations

Import route to Main

Lib.ClassField.GreenbergWiles.Relations → Lib.ClassField.GreenbergWiles.RelationsModL (pinned import) → New.Congruences.FirstOrder.KummerMaps (pinned import) → New.Congruences.FirstOrder.TrianglePrimes (pinned import) → New.Congruences.FirstOrder.DenominatorBound (pinned import) → New.Congruences.FitTwistsExist (pinned import) → New.Determinant.Twist.LongForms (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)

X Reddit Email LinkedIn