The modulus condition over the rational integers is ordinary congruence
ProvedRat.mem_span_nat_iff_congruenceclass-field-theorynumber-theory
Under , the condition that belongs to the ideal generated by is exactly the congruence . The statement uses an explicit integer witness and holds also at , where it reduces to . Along with positivity at the unique real place, this is the local algebra needed to identify the narrow ray condition for with a positive integer congruence.
Preamble
import Mathlib.NumberTheory.NumberField.Basic import Mathlib.RingTheory.Ideal.Span
Formal statement
theorem Rat.mem_span_nat_iff_congruence (n : ℕ) (a : NumberField.RingOfIntegers ℚ) :
a - 1 ∈ Ideal.span {(n : NumberField.RingOfIntegers ℚ)} ↔
∃ k : ℤ, Rat.ringOfIntegersEquiv a = 1 + (n : ℤ) * k := by sorrySource
Mathlib, RingTheory/Ideal/Span, Ideal.mem_span_singleton, https://leanprover-community.github.io/mathlib4_docs/Mathlib/RingTheory/Ideal/Span.html#Ideal.mem_span_singleton ; Mathlib, NumberTheory/NumberField/Basic, Rat.ringOfIntegersEquiv, https://leanprover-community.github.io/mathlib4_docs/Mathlib/NumberTheory/NumberField/Basic.html .