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.RingHom.Locally

20 declarations. Mathlib docs · Source

Target local closure of ring homomorphism properties

If P is a property of ring homomorphisms, we call Locally P the closure of P with respect to standard open coverings on the (algebraic) target (i.e. geometric source). Hence for f : R →+* S, the property Locally P holds if it holds locally on S, i.e. if there exists a subset { t } of S generating the unit ideal, such that P holds for all compositions R →+* Sₜ.

Assuming without further mention that P is stable under composition with isomorphisms, Locally P is local on the target by construction, i.e. it satisfies RingHom.OfLocalizationSpanTarget. If P itself is local on the target, Locally P coincides with P.

The Locally construction preserves various properties of P, e.g. if P is stable under composition, base change, etc., so is Locally P.

Main results

  • RingHom.locally_ofLocalizationSpanTarget: Locally P is local on the target.
  • RingHom.locally_holdsForLocalizationAway: Locally P holds for localization away maps if P does.
  • RingHom.locally_isStableUnderBaseChange: Locally P is stable under base change if P is.
  • RingHom.locally_stableUnderComposition: Locally P is stable under composition if P is and P is preserved under localizations.
  • RingHom.locally_stableUnderCompositionWithLocalizationAwayTarget and RingHom.locally_stableUnderCompositionWithLocalizationAwaySource: Locally P is stable under composition with localization away maps if P is.
  • RingHom.locally_localizationPreserves: If P is preserved by localizations, then so is Locally P.

def RingHom.Locally E1 #

({R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop) →
  {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop

For a property of ring homomorphisms P, Locally P holds for f : R →+* S if it holds locally on S, i.e. if there exists a subset { t } of S generating the unit ideal, such that P holds for all compositions R →+* Sₜ.

We may require s to be finite here, for the equivalence, see locally_iff_finite.

theorem RingHom.locally_iff_span_eq_top E1 #

∀ (P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop) {R S : Type u}
  [inst : CommRing R] [inst_1 : CommRing S] {f : R →+* S},
  RingHom.Locally (fun {R S} [CommRing R] [CommRing S] ↦ P) f ↔
    Ideal.span {g | P ((algebraMap S (Localization.Away g)).comp f)} = ⊤

theorem RingHom.Locally.span_eq_top E1 #

∀ (P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop) {R S : Type u}
  [inst : CommRing R] [inst_1 : CommRing S] {f : R →+* S},
  RingHom.Locally (fun {R S} [CommRing R] [CommRing S] ↦ P) f →
    Ideal.span {g | P ((algebraMap S (Localization.Away g)).comp f)} = ⊤

Alias of the forward direction of RingHom.locally_iff_span_eq_top.

theorem RingHom.locally_iff_finite E1 #

∀ (P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop) {R S : Type u}
  [inst : CommRing R] [inst_1 : CommRing S] (f : R →+* S),
  RingHom.Locally (fun {R S} [CommRing R] [CommRing S] ↦ P) f ↔
    ∃ s, ∃ (_ : Ideal.span ↑s = ⊤), ∀ t ∈ s, P ((algebraMap S (Localization.Away t)).comp f)

theorem RingHom.locally_of_exists E1 #

∀ {P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop} {R S : Type u}
  [inst : CommRing R] [inst_1 : CommRing S],
  (RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ P) →
    ∀ (f : R →+* S) {ι : Type u_1} (s : ι → S),
      Ideal.span (Set.range s) = ⊤ →
        ∀ (Sₜ : ι → Type u) [inst_2 : (i : ι) → CommRing (Sₜ i)] [inst_3 : (i : ι) → Algebra S (Sₜ i)]
          [∀ (i : ι), IsLocalization.Away (s i) (Sₜ i)],
          (∀ (i : ι), P ((algebraMap S (Sₜ i)).comp f)) → RingHom.Locally (fun {R S} [CommRing R] [CommRing S] ↦ P) f

If P respects isomorphisms, to check P holds locally for f : R →+* S, it suffices to check P holds on a standard open cover.

theorem RingHom.locally_iff_exists E1 #

∀ {P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop} {R S : Type u}
  [inst : CommRing R] [inst_1 : CommRing S],
  (RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ P) →
    ∀ (f : R →+* S),
      RingHom.Locally (fun {R S} [CommRing R] [CommRing S] ↦ P) f ↔
        ∃ ι s,
          ∃ (_ : Ideal.span (Set.range s) = ⊤),
            ∃ Sₜ x x_1, ∃ (_ : ∀ (i : ι), IsLocalization.Away (s i) (Sₜ i)), ∀ (i : ι), P ((algebraMap S (Sₜ i)).comp f)

Equivalence variant of locally_of_exists. This is sometimes easier to use, if the IsLocalization.Away instance can't be automatically inferred.

theorem RingHom.locally_iff_isLocalization E1 #

∀ {P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop} {R S : Type u}
  [inst : CommRing R] [inst_1 : CommRing S],
  (RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ P) →
    ∀ (f : R →+* S),
      RingHom.Locally (fun {R S} [CommRing R] [CommRing S] ↦ P) f ↔
        ∃ s,
          ∃ (_ : Ideal.span ↑s = ⊤),
            ∀ t ∈ s,
              ∀ (Sₜ : Type u) [inst_2 : CommRing Sₜ] [inst_3 : Algebra S Sₜ] [IsLocalization.Away t Sₜ],
                P ((algebraMap S Sₜ).comp f)

In the definition of Locally we may replace Localization.Away with an arbitrary algebra satisfying IsLocalization.Away.

theorem RingHom.locally_of E1 #

∀ {P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop} {R S : Type u}
  [inst : CommRing R] [inst_1 : CommRing S],
  (RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ P) →
    ∀ (f : R →+* S), P f → RingHom.Locally (fun {R S} [CommRing R] [CommRing S] ↦ P) f

If f satisfies P, then in particular it satisfies Locally P.

theorem RingHom.locally_of_locally E1 #

∀ {P Q : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (∀ {R S : Type u} [inst : CommRing R] [inst_1 : CommRing S] {f : R →+* S}, P f → Q f) →
    ∀ {R S : Type u} [inst : CommRing R] [inst_1 : CommRing S] {f : R →+* S},
      RingHom.Locally (fun {R S} [CommRing R] [CommRing S] ↦ P) f →
        RingHom.Locally (fun {R S} [CommRing R] [CommRing S] ↦ Q) f

theorem RingHom.locally_iff_of_localizationSpanTarget E1 #

∀ {P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ P) →
    (RingHom.OfLocalizationSpanTarget fun {R S} [CommRing R] [CommRing S] ↦ P) →
      ∀ {R S : Type u} [inst : CommRing R] [inst_1 : CommRing S] (f : R →+* S),
        RingHom.Locally (fun {R S} [CommRing R] [CommRing S] ↦ P) f ↔ P f

If P is local on the target, then Locally P coincides with P.

theorem RingHom.locally_ofLocalizationSpanTarget E3 #

∀ {P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ P) →
    RingHom.OfLocalizationSpanTarget fun {R S} [CommRing R] [CommRing S] ↦
      RingHom.Locally fun {R S} [CommRing R] [CommRing S] ↦ P

Locally P is local on the target.

theorem RingHom.locally_respectsIso E1 #

∀ {P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ P) →
    RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ RingHom.Locally fun {R S} [CommRing R] [CommRing S] ↦ P

If P respects isomorphism, so does Locally P.

theorem RingHom.locally_holdsForLocalizationAway E3 #

∀ {P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (RingHom.HoldsForLocalizationAway fun {R S} [CommRing R] [CommRing S] ↦ P) →
    RingHom.HoldsForLocalizationAway fun {R S} [CommRing R] [CommRing S] ↦
      RingHom.Locally fun {R S} [CommRing R] [CommRing S] ↦ P

If P holds for localization away maps, then so does Locally P.

theorem RingHom.locally_stableUnderComposition E3 #

∀ {P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ P) →
    (RingHom.LocalizationPreserves fun {R S} [CommRing R] [CommRing S] ↦ P) →
      (RingHom.StableUnderComposition fun {R S} [CommRing R] [CommRing S] ↦ P) →
        RingHom.StableUnderComposition fun {R S} [CommRing R] [CommRing S] ↦
          RingHom.Locally fun {R S} [CommRing R] [CommRing S] ↦ P

If P preserves localizations, then Locally P is stable under composition if P is.

theorem RingHom.locally_stableUnderCompositionWithLocalizationAwayTarget E3 #

∀ {P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (RingHom.StableUnderCompositionWithLocalizationAwayTarget fun {R S} [CommRing R] [CommRing S] ↦ P) →
    RingHom.StableUnderCompositionWithLocalizationAwayTarget fun {R S} [CommRing R] [CommRing S] ↦
      RingHom.Locally fun {R S} [CommRing R] [CommRing S] ↦ P

If P is stable under composition with localization away maps on the right, then so is Locally P.

theorem RingHom.locally_stableUnderCompositionWithLocalizationAwaySource E3 #

∀ {P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (RingHom.StableUnderCompositionWithLocalizationAwaySource fun {R S} [CommRing R] [CommRing S] ↦ P) →
    RingHom.StableUnderCompositionWithLocalizationAwaySource fun {R S} [CommRing R] [CommRing S] ↦
      RingHom.Locally fun {R S} [CommRing R] [CommRing S] ↦ P

If P is stable under composition with localization away maps on the left, then so is Locally P.

theorem RingHom.locally_isStableUnderBaseChange E3 #

∀ {P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (RingHom.RespectsIso fun {R S} [CommRing R] [CommRing S] ↦ P) →
    (RingHom.IsStableUnderBaseChange fun {R S} [CommRing R] [CommRing S] ↦ P) →
      RingHom.IsStableUnderBaseChange fun {R S} [CommRing R] [CommRing S] ↦
        RingHom.Locally fun {R S} [CommRing R] [CommRing S] ↦ P

If P is stable under base change, then so is Locally P.

theorem RingHom.locally_localizationAwayPreserves E1 #

∀ {P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (RingHom.LocalizationAwayPreserves fun {R S} [CommRing R] [CommRing S] ↦ P) →
    RingHom.LocalizationAwayPreserves fun {R S} [CommRing R] [CommRing S] ↦
      RingHom.Locally fun {R S} [CommRing R] [CommRing S] ↦ P

If P is preserved by localization away, then so is Locally P.

theorem RingHom.locally_localizationPreserves E3 #

∀ {P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (RingHom.LocalizationPreserves fun {R S} [CommRing R] [CommRing S] ↦ P) →
    RingHom.LocalizationPreserves fun {R S} [CommRing R] [CommRing S] ↦
      RingHom.Locally fun {R S} [CommRing R] [CommRing S] ↦ P

If P is preserved by localizations, then so is Locally P.

theorem RingHom.locally_propertyIsLocal E1 #

∀ {P : {R S : Type u} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → Prop},
  (RingHom.LocalizationAwayPreserves fun {R S} [CommRing R] [CommRing S] ↦ P) →
    (RingHom.StableUnderCompositionWithLocalizationAway fun {R S} [CommRing R] [CommRing S] ↦ P) →
      RingHom.PropertyIsLocal fun {R S} [CommRing R] [CommRing S] ↦
        RingHom.Locally fun {R S} [CommRing R] [CommRing S] ↦ P

If P is preserved by localizations and stable under composition with localization away maps, then Locally P is a local property of ring homomorphisms.