RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Coefficient rings inside the ring of all integral elements

Lib.General.NumberTheory.CoefficientInclusion.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

Elementary facts on the inclusion of a coefficient ring into ℤ̄_ℓ, and a divisibility statement for geometric sums in a ring with a divisibility-reflecting map to ℤ̄_ℓ.

  • New.CoeffRing.toIntQpBar: the inclusion, which reflects divisibility (New.CoeffRing.dvd_of_toIntQpBar_dvd).
  • New.Selmer.pow_dvd_geom_sum: for α near 1, a high power of ℓ divides ∑ i < ℓ ^ N, α ^ i.

Notions from other files:

  • New.CoeffRing: rings of integers of finite Galois extensions of ℚ_ℓ inside ℚ̄_ℓ; New.CoeffRing.normLength rescales ℕ∞-valued lengths over such a ring, a uniformiser ϖ having length v(ϖ), so that lengths over different rings are comparable.

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

Rest of upstream introduction

Rest of upstream introduction
  • New.ellVal: the valuation v on ℚ̄_ℓ with v ℓ = 1, cut off below at 0; New.intQpBar ℓ is the ring ℤ̄_ℓ of integral elements; throughout, the instance ThePrime ℓ fixes ℓ as the prime in play.

Pinned source lines

Declarations

  • lemma pow_dvd_geom_sum {O : Type*} [CommRing O] (f : O →+* intQpBar ℓ)
        (hf : ∀ z z' : O, f z ∣ f z' → z ∣ z') {r : ℚ≥0} {M N : ℕ} (hr : r ≤ 1)
        (hMN : (M : ℚ≥0) ≤ N * r) {α : O} (hα : (r : ℝ≥0) ≤ ellVal (f (α - 1)).val) :
        (ℓ ^ M : O) ∣ ∑ i ∈ range (ℓ ^ N), α ^ i
    

Import route to Main

Lib.General.NumberTheory.CoefficientInclusion → New.Congruences.Selmer.Line (pinned import) → New.Congruences.Selmer.GeneralTheorem (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