The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V09. Commutative algebra I: ideals, polynomials, factorization

Mathlib.RingTheory.Localization.Integer

19 declarations and 1 deprecated aliases. Mathlib docs · Source

Integer elements of a localization

Main definitions

  • IsLocalization.IsInteger is a predicate stating that x : S is in the image of R

Implementation notes

See Mathlib/RingTheory/Localization/Basic.lean for a design overview.

Tags

localization, ring localization, commutative ring localization, characteristic predicate, commutative ring, field of fractions

def IsLocalization.IsInteger E3 #

(R : Type u_1) → [inst : CommSemiring R] → {S : Type u_2} → [inst_1 : CommSemiring S] → [Algebra R S] → S → Prop

Given a : S, S a localization of R, IsInteger R a iff a is in the image of the localization map from R to S.

theorem IsLocalization.isInteger_zero E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S],
  IsLocalization.IsInteger R 0

theorem IsLocalization.isInteger_one E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S],
  IsLocalization.IsInteger R 1

theorem IsLocalization.isInteger_add E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {a b : S},
  IsLocalization.IsInteger R a → IsLocalization.IsInteger R b → IsLocalization.IsInteger R (a + b)

theorem IsLocalization.isInteger_mul E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {a b : S},
  IsLocalization.IsInteger R a → IsLocalization.IsInteger R b → IsLocalization.IsInteger R (a * b)

theorem IsLocalization.isInteger_smul E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {a : R}
  {b : S}, IsLocalization.IsInteger R b → IsLocalization.IsInteger R (a • b)

theorem IsLocalization.exists_integer_multiple' E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (M : Submonoid R) {S : Type u_2} [inst_1 : CommSemiring S]
  [inst_2 : Algebra R S] [IsLocalization M S] (a : S), ∃ b, IsLocalization.IsInteger R (a * (algebraMap R S) ↑b)

Each element a : S has an M-multiple which is an integer.

This version multiplies a on the right, matching the argument order in LocalizationMap.surj.

theorem IsLocalization.exists_integer_multiple E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (M : Submonoid R) {S : Type u_2} [inst_1 : CommSemiring S]
  [inst_2 : Algebra R S] [IsLocalization M S] (a : S), ∃ b, IsLocalization.IsInteger R (↑b • a)

Each element a : S has an M-multiple which is an integer.

This version multiplies a on the left, matching the argument order in the SMul instance.

theorem IsLocalization.exist_integer_multiples E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (M : Submonoid R) {S : Type u_2} [inst_1 : CommSemiring S]
  [inst_2 : Algebra R S] [IsLocalization M S] {ι : Type u_3} (s : Finset ι) (f : ι → S),
  ∃ b, ∀ i ∈ s, IsLocalization.IsInteger R (↑b • f i)

We can clear the denominators of a Finset-indexed family of fractions.

theorem IsLocalization.exist_integer_multiples_of_finite E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (M : Submonoid R) {S : Type u_2} [inst_1 : CommSemiring S]
  [inst_2 : Algebra R S] [IsLocalization M S] {ι : Type u_3} [Finite ι] (f : ι → S),
  ∃ b, ∀ (i : ι), IsLocalization.IsInteger R (↑b • f i)

We can clear the denominators of a finite indexed family of fractions.

theorem IsLocalization.exist_integer_multiples_of_finset E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (M : Submonoid R) {S : Type u_2} [inst_1 : CommSemiring S]
  [inst_2 : Algebra R S] [IsLocalization M S] (s : Finset S), ∃ b, ∀ a ∈ s, IsLocalization.IsInteger R (↑b • a)

We can clear the denominators of a finite set of fractions.

def IsLocalization.commonDenom E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    (M : Submonoid R) →
      {S : Type u_2} →
        [inst_1 : CommSemiring S] →
          [inst_2 : Algebra R S] → [IsLocalization M S] → {ι : Type u_3} → Finset ι → (ι → S) → ↥M

A choice of a common multiple of the denominators of a Finset-indexed family of fractions.

def IsLocalization.integerMultiple E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    (M : Submonoid R) →
      {S : Type u_2} →
        [inst_1 : CommSemiring S] →
          [inst_2 : Algebra R S] → [IsLocalization M S] → {ι : Type u_3} → (s : Finset ι) → (ι → S) → ↥s → R

The numerator of a fraction after clearing the denominators of a Finset-indexed family of fractions.

theorem IsLocalization.map_integerMultiple E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (M : Submonoid R) {S : Type u_2} [inst_1 : CommSemiring S]
  [inst_2 : Algebra R S] [inst_3 : IsLocalization M S] {ι : Type u_3} (s : Finset ι) (f : ι → S) (i : ↥s),
  (algebraMap R S) (IsLocalization.integerMultiple M s f i) = IsLocalization.commonDenom M s f • f ↑i

theorem IsLocalization.integerMultiple_injective E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (M : Submonoid R) {S : Type u_2} [inst_1 : CommSemiring S]
  [inst_2 : Algebra R S] [inst_3 : IsLocalization M S] {ι : Type u_3} (s : Finset ι) (f : ι → S),
  Function.Injective f → Function.Injective (IsLocalization.integerMultiple M s f)

def IsLocalization.commonDenomOfFinset E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    (M : Submonoid R) →
      {S : Type u_2} → [inst_1 : CommSemiring S] → [inst_2 : Algebra R S] → [IsLocalization M S] → Finset S → ↥M

A choice of a common multiple of the denominators of a finite set of fractions.

def IsLocalization.finsetIntegerMultiple E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    (M : Submonoid R) →
      {S : Type u_2} →
        [inst_1 : CommSemiring S] →
          [inst_2 : Algebra R S] → [IsLocalization M S] → [DecidableEq R] → Finset S → Finset R

The finset of numerators after clearing the denominators of a finite set of fractions.

theorem IsLocalization.finsetIntegerMultiple_image E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (M : Submonoid R) {S : Type u_2} [inst_1 : CommSemiring S]
  [inst_2 : Algebra R S] [inst_3 : IsLocalization M S] [inst_4 : DecidableEq R] (s : Finset S),
  ⇑(algebraMap R S) '' ↑(IsLocalization.finsetIntegerMultiple M s) = IsLocalization.commonDenomOfFinset M s • ↑s

theorem IsLocalization.card_finsetIntegerMultiple E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (M : Submonoid R) {S : Type u_2} [inst_1 : CommSemiring S]
  [inst_2 : Algebra R S] [inst_3 : IsLocalization M S] [inst_4 : DecidableEq R] (s : Finset S),
  (IsLocalization.finsetIntegerMultiple M s).card = s.card

Deprecated aliases

NameNew nameSince
IsLocalization.integerMultipleMultiple_injectiveIsLocalization.integerMultiple_injective2026-07-18