RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Coefficient rings of ℓ-adic lattices, and length versus cardinality of modules

Lib.General.NumberTheory.CoefficientRings.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

The coefficient rings over which ℓ-adic lattices are taken, and, for modules over an ℓ-adic integer ring, a comparison of length with cardinality.

  • New.card_eq_pow_length: over an ℓ-adic integer ring R with residue field k, a module of finite length has #k ^ length elements.
  • New.length_le_of_card_le, New.length_le_of_card_dvd: an inequality of cardinalities (the smaller module being finite) or a divisibility of cardinalities gives an inequality of lengths.

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

Rest of upstream introduction

Rest of upstream introduction
  • New.CoeffRing ℓ: the rings of integers O of finite Galois extensions of ℚ_ℓ inside ℚ̄_ℓ. Each is a finite ℤ_ℓ-module, compact, and a discrete valuation ring with divisibility read from the norm (New.CoeffRing.dvd_iff_norm_le).
  • New.CoeffRing.eventually_mem: an element of norm at most 1 lies in all sufficiently large coefficient rings. That the rings are directed by inclusion is an instance.

Three imported notions occur in the statements:

  • New.ThePrime ℓ: the class saying that ℓ is prime, which fixes the prime ℓ in scope;
  • New.DVR O: O is an integral domain and a discrete valuation ring;
  • New.PadicIntegerRing R ℓ: R is a discrete valuation ring of characteristic 0, finite and free over ℤ_ℓ, with finite quotients by nonzero ideals.

Pinned source lines

Declarations

Import route to Main

Lib.General.NumberTheory.CoefficientRings → Lib.General.NumberTheory.PadicLimitsValuation (pinned import) → Lib.General.NumberTheory.LargeResidueField (pinned import) → New.Congruences.Selmer.TwistingTheorem (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