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 / V05. Groups

Mathlib.GroupTheory.OreLocalization.Basic

141 declarations. Mathlib docs · Source

Localization over left Ore sets.

This file defines the localization of a monoid over a left Ore set and proves its universal mapping property.

Notation

Introduces the notation R[S⁻¹] for the Ore localization of a monoid R at a right Ore subset S. Also defines a new heterogeneous division notation r /ₒ s for a numerator r : R and a denominator s : S.

References

Tags

localization, Ore, non-commutative

Implementation detail

Some of the declarations are marked reducible to avoid diamonds with Mathlib/Algebra/Module/LocalizedModule/Basic.lean. This causes a significant performance regression, most notably in Mathlib/AlgebraicGeometry/AffineSpace.lean. Also see https://github.com/leanprover-community/mathlib4/pull/31862.

We shall investigate if there are ways to improve performances. For example by introducing typeclasses to unify the two constructions on this and LocalizedModule, or by marking some downstream constructions (e.g. Spec.structureSheaf) as irreducible.

theorem OreLocalization.universalMulHom.congr_simp E1 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {T : Type u_2}
  [inst_2 : Monoid T] (f f_1 : R →* T) (e_f : f = f_1) (fS fS_1 : ↥S →* Tˣ) (e_fS : fS = fS_1)
  (hf : ∀ (s : ↥S), f ↑s = ↑(fS s)),
  OreLocalization.universalMulHom f fS hf = OreLocalization.universalMulHom f_1 fS_1 ⋯

def OreLocalization.oreEqv E1 #

{R : Type u_1} →
  [inst : Monoid R] →
    (S : Submonoid R) → [OreLocalization.OreSet S] → (X : Type u_2) → [MulAction R X] → Setoid (X × ↥S)

The setoid on R × S used for the Ore localization.

def AddOreLocalization.oreEqv E1 #

{R : Type u_1} →
  [inst : AddMonoid R] →
    (S : AddSubmonoid R) → [AddOreLocalization.AddOreSet S] → (X : Type u_2) → [AddAction R X] → Setoid (X × ↥S)

The setoid on R × S used for the Ore localization.

def OreLocalization E1 #

{R : Type u_1} →
  [inst : Monoid R] →
    (S : Submonoid R) → [OreLocalization.OreSet S] → (X : Type u_2) → [MulAction R X] → Type (max u_1 u_2)

The Ore localization of a monoid and a submonoid fulfilling the Ore condition.

def AddOreLocalization E1 #

{R : Type u_1} →
  [inst : AddMonoid R] →
    (S : AddSubmonoid R) → [AddOreLocalization.AddOreSet S] → (X : Type u_2) → [AddAction R X] → Type (max u_1 u_2)

The Ore localization of an additive monoid and a submonoid fulfilling the Ore condition.

def OreLocalization.«term__[_⁻¹_]» E1 #

Lean.TrailingParserDescr

The Ore localization of a monoid and a submonoid fulfilling the Ore condition.

def OreLocalization.oreDiv E1 #

{R : Type u_1} →
  [inst : Monoid R] →
    {S : Submonoid R} →
      [inst_1 : OreLocalization.OreSet S] → {X : Type u_2} → [inst_2 : MulAction R X] → X → ↥S → OreLocalization S X

The division in the Ore localization X[S⁻¹], as a fraction of an element of X and S.

def AddOreLocalization.oreSub E1 #

{R : Type u_1} →
  [inst : AddMonoid R] →
    {S : AddSubmonoid R} →
      [inst_1 : AddOreLocalization.AddOreSet S] →
        {X : Type u_2} → [inst_2 : AddAction R X] → X → ↥S → AddOreLocalization S X

The subtraction in the Ore localization, as a difference of an element of X and S.

def OreLocalization.«term_/ₒ_» E1 #

Lean.TrailingParserDescr

The division in the Ore localization X[S⁻¹], as a fraction of an element of X and S.

def OreLocalization.«term_-ₒ_» E1 #

Lean.TrailingParserDescr

The subtraction in the Ore localization, as a difference of an element of X and S.

theorem OreLocalization.ind E1 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {X : Type u_2}
  [inst_2 : MulAction R X] {β : OreLocalization S X → Prop},
  (∀ (r : X) (s : ↥S), β (r /ₒ s)) → ∀ (q : OreLocalization S X), β q

theorem AddOreLocalization.ind E1 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {X : Type u_2}
  [inst_2 : AddAction R X] {β : AddOreLocalization S X → Prop},
  (∀ (r : X) (s : ↥S), β (r -ₒ s)) → ∀ (q : AddOreLocalization S X), β q

theorem OreLocalization.oreDiv_eq_iff E0 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {X : Type u_2}
  [inst_2 : MulAction R X] {r₁ r₂ : X} {s₁ s₂ : ↥S}, r₁ /ₒ s₁ = r₂ /ₒ s₂ ↔ ∃ u v, u • r₂ = v • r₁ ∧ ↑u * ↑s₂ = v * ↑s₁

theorem AddOreLocalization.oreSub_eq_iff E0 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {X : Type u_2}
  [inst_2 : AddAction R X] {r₁ r₂ : X} {s₁ s₂ : ↥S}, r₁ -ₒ s₁ = r₂ -ₒ s₂ ↔ ∃ u v, u +ᵥ r₂ = v +ᵥ r₁ ∧ ↑u + ↑s₂ = v + ↑s₁

theorem OreLocalization.expand E1 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {X : Type u_2}
  [inst_2 : MulAction R X] (r : X) (s : ↥S) (t : R) (hst : t * ↑s ∈ S), r /ₒ s = t • r /ₒ ⟨t * ↑s, hst⟩

A fraction r /ₒ s is equal to its expansion by an arbitrary factor t if t * s ∈ S.

theorem AddOreLocalization.expand E1 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {X : Type u_2}
  [inst_2 : AddAction R X] (r : X) (s : ↥S) (t : R) (hst : t + ↑s ∈ S), r -ₒ s = (t +ᵥ r) -ₒ ⟨t + ↑s, hst⟩

A difference r -ₒ s is equal to its expansion by an arbitrary translation t if t + s ∈ S.

theorem OreLocalization.expand' E1 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {X : Type u_2}
  [inst_2 : MulAction R X] (r : X) (s s' : ↥S), r /ₒ s = s' • r /ₒ (s' * s)

A fraction is equal to its expansion by a factor from S.

theorem AddOreLocalization.expand' E1 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {X : Type u_2}
  [inst_2 : AddAction R X] (r : X) (s s' : ↥S), r -ₒ s = (s' +ᵥ r) -ₒ (s' + s)

A difference is equal to its expansion by a summand from S.

def OreLocalization.liftExpand E1 #

{R : Type u_1} →
  [inst : Monoid R] →
    {S : Submonoid R} →
      [inst_1 : OreLocalization.OreSet S] →
        {X : Type u_3} →
          [inst_2 : MulAction R X] →
            {C : Sort u_2} →
              (P : X → ↥S → C) →
                (∀ (r : X) (t : R) (s : ↥S) (ht : t * ↑s ∈ S), P r s = P (t • r) ⟨t * ↑s, ht⟩) → OreLocalization S X → C

A function or predicate over X and S can be lifted to X[S⁻¹] if it is invariant under expansion on the left.

def AddOreLocalization.liftExpand E1 #

{R : Type u_1} →
  [inst : AddMonoid R] →
    {S : AddSubmonoid R} →
      [inst_1 : AddOreLocalization.AddOreSet S] →
        {X : Type u_3} →
          [inst_2 : AddAction R X] →
            {C : Sort u_2} →
              (P : X → ↥S → C) →
                (∀ (r : X) (t : R) (s : ↥S) (ht : t + ↑s ∈ S), P r s = P (t +ᵥ r) ⟨t + ↑s, ht⟩) →
                  AddOreLocalization S X → C

A function or predicate over X and S can be lifted to the localization if it is invariant under expansion on the left.

theorem OreLocalization.liftExpand_of E0 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {X : Type u_3}
  [inst_2 : MulAction R X] {C : Sort u_2} {P : X → ↥S → C}
  {hP : ∀ (r : X) (t : R) (s : ↥S) (ht : t * ↑s ∈ S), P r s = P (t • r) ⟨t * ↑s, ht⟩} (r : X) (s : ↥S),
  OreLocalization.liftExpand P hP (r /ₒ s) = P r s

theorem AddOreLocalization.liftExpand_of E0 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {X : Type u_3}
  [inst_2 : AddAction R X] {C : Sort u_2} {P : X → ↥S → C}
  {hP : ∀ (r : X) (t : R) (s : ↥S) (ht : t + ↑s ∈ S), P r s = P (t +ᵥ r) ⟨t + ↑s, ht⟩} (r : X) (s : ↥S),
  AddOreLocalization.liftExpand P hP (r -ₒ s) = P r s

def OreLocalization.lift₂Expand E1 #

{R : Type u_1} →
  [inst : Monoid R] →
    {S : Submonoid R} →
      [inst_1 : OreLocalization.OreSet S] →
        {X : Type u_3} →
          [inst_2 : MulAction R X] →
            {C : Sort u_2} →
              (P : X → ↥S → X → ↥S → C) →
                (∀ (r₁ : X) (t₁ : R) (s₁ : ↥S) (ht₁ : t₁ * ↑s₁ ∈ S) (r₂ : X) (t₂ : R) (s₂ : ↥S) (ht₂ : t₂ * ↑s₂ ∈ S),
                    P r₁ s₁ r₂ s₂ = P (t₁ • r₁) ⟨t₁ * ↑s₁, ht₁⟩ (t₂ • r₂) ⟨t₂ * ↑s₂, ht₂⟩) →
                  OreLocalization S X → OreLocalization S X → C

A version of liftExpand used to simultaneously lift functions with two arguments in X[S⁻¹].

def AddOreLocalization.lift₂Expand E1 #

{R : Type u_1} →
  [inst : AddMonoid R] →
    {S : AddSubmonoid R} →
      [inst_1 : AddOreLocalization.AddOreSet S] →
        {X : Type u_3} →
          [inst_2 : AddAction R X] →
            {C : Sort u_2} →
              (P : X → ↥S → X → ↥S → C) →
                (∀ (r₁ : X) (t₁ : R) (s₁ : ↥S) (ht₁ : t₁ + ↑s₁ ∈ S) (r₂ : X) (t₂ : R) (s₂ : ↥S) (ht₂ : t₂ + ↑s₂ ∈ S),
                    P r₁ s₁ r₂ s₂ = P (t₁ +ᵥ r₁) ⟨t₁ + ↑s₁, ht₁⟩ (t₂ +ᵥ r₂) ⟨t₂ + ↑s₂, ht₂⟩) →
                  AddOreLocalization S X → AddOreLocalization S X → C

A version of liftExpand used to simultaneously lift functions with two arguments.

theorem AddOreLocalization.lift₂Expand_of E0 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {X : Type u_3}
  [inst_2 : AddAction R X] {C : Sort u_2} {P : X → ↥S → X → ↥S → C}
  {hP :
    ∀ (r₁ : X) (t₁ : R) (s₁ : ↥S) (ht₁ : t₁ + ↑s₁ ∈ S) (r₂ : X) (t₂ : R) (s₂ : ↥S) (ht₂ : t₂ + ↑s₂ ∈ S),
      P r₁ s₁ r₂ s₂ = P (t₁ +ᵥ r₁) ⟨t₁ + ↑s₁, ht₁⟩ (t₂ +ᵥ r₂) ⟨t₂ + ↑s₂, ht₂⟩}
  (r₁ : X) (s₁ : ↥S) (r₂ : X) (s₂ : ↥S), AddOreLocalization.lift₂Expand P hP (r₁ -ₒ s₁) (r₂ -ₒ s₂) = P r₁ s₁ r₂ s₂

theorem OreLocalization.lift₂Expand_of E0 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {X : Type u_3}
  [inst_2 : MulAction R X] {C : Sort u_2} {P : X → ↥S → X → ↥S → C}
  {hP :
    ∀ (r₁ : X) (t₁ : R) (s₁ : ↥S) (ht₁ : t₁ * ↑s₁ ∈ S) (r₂ : X) (t₂ : R) (s₂ : ↥S) (ht₂ : t₂ * ↑s₂ ∈ S),
      P r₁ s₁ r₂ s₂ = P (t₁ • r₁) ⟨t₁ * ↑s₁, ht₁⟩ (t₂ • r₂) ⟨t₂ * ↑s₂, ht₂⟩}
  (r₁ : X) (s₁ : ↥S) (r₂ : X) (s₂ : ↥S), OreLocalization.lift₂Expand P hP (r₁ /ₒ s₁) (r₂ /ₒ s₂) = P r₁ s₁ r₂ s₂

abbrev OreLocalization.smul E1 #

{R : Type u_1} →
  [inst : Monoid R] →
    {S : Submonoid R} →
      [inst_1 : OreLocalization.OreSet S] →
        {X : Type u_2} → [inst_2 : MulAction R X] → OreLocalization S R → OreLocalization S X → OreLocalization S X

The scalar multiplication on the Ore localization of monoids.

abbrev AddOreLocalization.vadd E1 #

{R : Type u_1} →
  [inst : AddMonoid R] →
    {S : AddSubmonoid R} →
      [inst_1 : AddOreLocalization.AddOreSet S] →
        {X : Type u_2} →
          [inst_2 : AddAction R X] → AddOreLocalization S R → AddOreLocalization S X → AddOreLocalization S X

The vector addition on the Ore localization of additive monoids.

instance OreLocalization.instSMul E0 #

{R : Type u_1} →
  [inst : Monoid R] →
    {S : Submonoid R} →
      [inst_1 : OreLocalization.OreSet S] →
        {X : Type u_2} → [inst_2 : MulAction R X] → SMul (OreLocalization S R) (OreLocalization S X)

instance AddOreLocalization.instVAdd E0 #

{R : Type u_1} →
  [inst : AddMonoid R] →
    {S : AddSubmonoid R} →
      [inst_1 : AddOreLocalization.AddOreSet S] →
        {X : Type u_2} → [inst_2 : AddAction R X] → VAdd (AddOreLocalization S R) (AddOreLocalization S X)

instance AddOreLocalization.instAdd E0 #

{R : Type u_1} →
  [inst : AddMonoid R] → {S : AddSubmonoid R} → [inst_1 : AddOreLocalization.AddOreSet S] → Add (AddOreLocalization S R)

instance OreLocalization.instMul E0 #

{R : Type u_1} → [inst : Monoid R] → {S : Submonoid R} → [inst_1 : OreLocalization.OreSet S] → Mul (OreLocalization S R)

theorem OreLocalization.oreDiv_smul_oreDiv E1 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {X : Type u_2}
  [inst_2 : MulAction R X] {r₁ : R} {r₂ : X} {s₁ s₂ : ↥S},
  (r₁ /ₒ s₁) • (r₂ /ₒ s₂) = OreLocalization.oreNum r₁ s₂ • r₂ /ₒ (OreLocalization.oreDenom r₁ s₂ * s₁)

theorem AddOreLocalization.oreSub_vadd_oreSub E1 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {X : Type u_2}
  [inst_2 : AddAction R X] {r₁ : R} {r₂ : X} {s₁ s₂ : ↥S},
  (r₁ -ₒ s₁) +ᵥ r₂ -ₒ s₂ = (AddOreLocalization.oreMin r₁ s₂ +ᵥ r₂) -ₒ (AddOreLocalization.oreSubtra r₁ s₂ + s₁)

theorem AddOreLocalization.oreSub_add_oreSub E1 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {r₁ r₂ : R}
  {s₁ s₂ : ↥S},
  r₁ -ₒ s₁ + (r₂ -ₒ s₂) = AddOreLocalization.oreMin r₁ s₂ + r₂ -ₒ (AddOreLocalization.oreSubtra r₁ s₂ + s₁)

theorem OreLocalization.oreDiv_mul_oreDiv E1 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {r₁ r₂ : R} {s₁ s₂ : ↥S},
  r₁ /ₒ s₁ * (r₂ /ₒ s₂) = OreLocalization.oreNum r₁ s₂ * r₂ /ₒ (OreLocalization.oreDenom r₁ s₂ * s₁)

theorem OreLocalization.oreDiv_smul_char E1 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {X : Type u_2}
  [inst_2 : MulAction R X] (r₁ : R) (r₂ : X) (s₁ s₂ : ↥S) (r' : R) (s' : ↥S),
  ↑s' * r₁ = r' * ↑s₂ → (r₁ /ₒ s₁) • (r₂ /ₒ s₂) = r' • r₂ /ₒ (s' * s₁)

A characterization lemma for the scalar multiplication on the Ore localization, allowing for a choice of Ore numerator and Ore denominator.

theorem AddOreLocalization.oreSub_vadd_char E1 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {X : Type u_2}
  [inst_2 : AddAction R X] (r₁ : R) (r₂ : X) (s₁ s₂ : ↥S) (r' : R) (s' : ↥S),
  ↑s' + r₁ = r' + ↑s₂ → (r₁ -ₒ s₁) +ᵥ r₂ -ₒ s₂ = (r' +ᵥ r₂) -ₒ (s' + s₁)

A characterization lemma for the vector addition on the Ore localization, allowing for a choice of Ore minuend and Ore subtrahend.

theorem OreLocalization.oreDiv_mul_char E1 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] (r₁ r₂ : R) (s₁ s₂ : ↥S)
  (r' : R) (s' : ↥S), ↑s' * r₁ = r' * ↑s₂ → r₁ /ₒ s₁ * (r₂ /ₒ s₂) = r' * r₂ /ₒ (s' * s₁)

A characterization lemma for the multiplication on the Ore localization, allowing for a choice of Ore numerator and Ore denominator.

theorem AddOreLocalization.oreSub_add_char E1 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] (r₁ r₂ : R)
  (s₁ s₂ : ↥S) (r' : R) (s' : ↥S), ↑s' + r₁ = r' + ↑s₂ → r₁ -ₒ s₁ + (r₂ -ₒ s₂) = r' + r₂ -ₒ (s' + s₁)

A characterization lemma for the addition on the Ore localization, allowing for a choice of Ore minuend and Ore subtrahend.

def OreLocalization.oreDivSMulChar' E1 #

{R : Type u_1} →
  [inst : Monoid R] →
    {S : Submonoid R} →
      [inst_1 : OreLocalization.OreSet S] →
        {X : Type u_2} →
          [inst_2 : MulAction R X] →
            (r₁ : R) →
              (r₂ : X) →
                (s₁ s₂ : ↥S) →
                  (r' : R) ×' (s' : ↥S) ×' ↑s' * r₁ = r' * ↑s₂ ∧ (r₁ /ₒ s₁) • (r₂ /ₒ s₂) = r' • r₂ /ₒ (s' * s₁)

Another characterization lemma for the scalar multiplication on the Ore localization delivering Ore witnesses and conditions bundled in a sigma type.

def AddOreLocalization.oreSubVAddChar' E1 #

{R : Type u_1} →
  [inst : AddMonoid R] →
    {S : AddSubmonoid R} →
      [inst_1 : AddOreLocalization.AddOreSet S] →
        {X : Type u_2} →
          [inst_2 : AddAction R X] →
            (r₁ : R) →
              (r₂ : X) →
                (s₁ s₂ : ↥S) →
                  (r' : R) ×' (s' : ↥S) ×' ↑s' + r₁ = r' + ↑s₂ ∧ (r₁ -ₒ s₁) +ᵥ r₂ -ₒ s₂ = (r' +ᵥ r₂) -ₒ (s' + s₁)

Another characterization lemma for the vector addition on the Ore localization delivering Ore witnesses and conditions bundled in a sigma type.

def OreLocalization.oreDivMulChar' E1 #

{R : Type u_1} →
  [inst : Monoid R] →
    {S : Submonoid R} →
      [inst_1 : OreLocalization.OreSet S] →
        (r₁ r₂ : R) →
          (s₁ s₂ : ↥S) → (r' : R) ×' (s' : ↥S) ×' ↑s' * r₁ = r' * ↑s₂ ∧ r₁ /ₒ s₁ * (r₂ /ₒ s₂) = r' * r₂ /ₒ (s' * s₁)

Another characterization lemma for the multiplication on the Ore localization delivering Ore witnesses and conditions bundled in a sigma type.

def AddOreLocalization.oreSubAddChar' E1 #

{R : Type u_1} →
  [inst : AddMonoid R] →
    {S : AddSubmonoid R} →
      [inst_1 : AddOreLocalization.AddOreSet S] →
        (r₁ r₂ : R) →
          (s₁ s₂ : ↥S) → (r' : R) ×' (s' : ↥S) ×' ↑s' + r₁ = r' + ↑s₂ ∧ r₁ -ₒ s₁ + (r₂ -ₒ s₂) = r' + r₂ -ₒ (s' + s₁)

Another characterization lemma for the addition on the Ore localization delivering Ore witnesses and conditions bundled in a sigma type.

def OreLocalization.one E1 #

{R : Type u_1} →
  [inst : Monoid R] →
    {S : Submonoid R} →
      [inst_1 : OreLocalization.OreSet S] → {X : Type u_2} → [inst_2 : MulAction R X] → [One X] → OreLocalization S X

1 in the localization, defined as 1 /ₒ 1.

def AddOreLocalization.zero E1 #

{R : Type u_1} →
  [inst : AddMonoid R] →
    {S : AddSubmonoid R} →
      [inst_1 : AddOreLocalization.AddOreSet S] →
        {X : Type u_2} → [inst_2 : AddAction R X] → [Zero X] → AddOreLocalization S X

0 in the additive localization, defined as 0 -ₒ 0.

instance AddOreLocalization.instZero E0 #

{R : Type u_1} →
  [inst : AddMonoid R] →
    {S : AddSubmonoid R} →
      [inst_1 : AddOreLocalization.AddOreSet S] →
        {X : Type u_2} → [inst_2 : AddAction R X] → [Zero X] → Zero (AddOreLocalization S X)

instance OreLocalization.instOne E0 #

{R : Type u_1} →
  [inst : Monoid R] →
    {S : Submonoid R} →
      [inst_1 : OreLocalization.OreSet S] →
        {X : Type u_2} → [inst_2 : MulAction R X] → [One X] → One (OreLocalization S X)

theorem OreLocalization.one_def E0 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {X : Type u_2}
  [inst_2 : MulAction R X] [inst_3 : One X], 1 = 1 /ₒ 1

theorem AddOreLocalization.zero_def E0 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {X : Type u_2}
  [inst_2 : AddAction R X] [inst_3 : Zero X], 0 = 0 -ₒ 0

instance AddOreLocalization.instInhabited E0 #

{R : Type u_1} →
  [inst : AddMonoid R] →
    {S : AddSubmonoid R} → [inst_1 : AddOreLocalization.AddOreSet S] → Inhabited (AddOreLocalization S R)

instance OreLocalization.instInhabited E0 #

{R : Type u_1} →
  [inst : Monoid R] → {S : Submonoid R} → [inst_1 : OreLocalization.OreSet S] → Inhabited (OreLocalization S R)

theorem AddOreLocalization.sub_eq_zero' E0 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {r : R}
  (hr : r ∈ S), r -ₒ ⟨r, hr⟩ = 0

theorem OreLocalization.div_eq_one' E0 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {r : R} (hr : r ∈ S),
  r /ₒ ⟨r, hr⟩ = 1

theorem AddOreLocalization.sub_eq_zero E0 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {s : ↥S},
  ↑s -ₒ s = 0

theorem OreLocalization.div_eq_one E0 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {s : ↥S}, ↑s /ₒ s = 1

theorem OreLocalization.one_smul E1 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {X : Type u_2}
  [inst_2 : MulAction R X] (x : OreLocalization S X), 1 • x = x

theorem AddOreLocalization.zero_vadd E1 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {X : Type u_2}
  [inst_2 : AddAction R X] (x : AddOreLocalization S X), 0 +ᵥ x = x

theorem AddOreLocalization.zero_add E1 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S]
  (x : AddOreLocalization S R), 0 + x = x

theorem OreLocalization.one_mul E1 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] (x : OreLocalization S R),
  1 * x = x

theorem OreLocalization.mul_one E1 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] (x : OreLocalization S R),
  x * 1 = x

theorem AddOreLocalization.add_zero E1 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S]
  (x : AddOreLocalization S R), x + 0 = x

theorem OreLocalization.mul_smul E1 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {X : Type u_2}
  [inst_2 : MulAction R X] (x y : OreLocalization S R) (z : OreLocalization S X), (x * y) • z = x • y • z

theorem AddOreLocalization.add_vadd E1 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {X : Type u_2}
  [inst_2 : AddAction R X] (x y : AddOreLocalization S R) (z : AddOreLocalization S X), (x + y) +ᵥ z = x +ᵥ y +ᵥ z

theorem OreLocalization.mul_assoc E1 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] (x y z : OreLocalization S R),
  x * y * z = x * (y * z)

theorem AddOreLocalization.add_assoc E1 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S]
  (x y z : AddOreLocalization S R), x + y + z = x + (y + z)

abbrev OreLocalization.npow E1 #

{R : Type u_1} →
  [inst : Monoid R] →
    {S : Submonoid R} → [inst_1 : OreLocalization.OreSet S] → ℕ → OreLocalization S R → OreLocalization S R

npow of OreLocalization

abbrev AddOreLocalization.nsmul E1 #

{R : Type u_1} →
  [inst : AddMonoid R] →
    {S : AddSubmonoid R} →
      [inst_1 : AddOreLocalization.AddOreSet S] → ℕ → AddOreLocalization S R → AddOreLocalization S R

nsmul of AddOreLocalization

instance AddOreLocalization.instAddMonoid E0 #

{R : Type u_1} →
  [inst : AddMonoid R] →
    {S : AddSubmonoid R} → [inst_1 : AddOreLocalization.AddOreSet S] → AddMonoid (AddOreLocalization S R)

instance OreLocalization.instMonoid E0 #

{R : Type u_1} →
  [inst : Monoid R] → {S : Submonoid R} → [inst_1 : OreLocalization.OreSet S] → Monoid (OreLocalization S R)

theorem AddOreLocalization.oreSub_nsmul E1 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] (r : R) (s : ↥S)
  (n : ℕ), AddCommute r ↑s → n • (r -ₒ s) = n • r -ₒ n • s

theorem OreLocalization.oreDiv_pow E1 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] (r : R) (s : ↥S) (n : ℕ),
  Commute r ↑s → (r /ₒ s) ^ n = r ^ n /ₒ s ^ n

instance AddOreLocalization.instAddActionOreLocalization E0 #

{R : Type u_1} →
  [inst : AddMonoid R] →
    {S : AddSubmonoid R} →
      [inst_1 : AddOreLocalization.AddOreSet S] →
        {X : Type u_2} → [inst_2 : AddAction R X] → AddAction (AddOreLocalization S R) (AddOreLocalization S X)

instance OreLocalization.instMulActionOreLocalization E0 #

{R : Type u_1} →
  [inst : Monoid R] →
    {S : Submonoid R} →
      [inst_1 : OreLocalization.OreSet S] →
        {X : Type u_2} → [inst_2 : MulAction R X] → MulAction (OreLocalization S R) (OreLocalization S X)

theorem OreLocalization.mul_inv E1 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] (s s' : ↥S),
  ↑s /ₒ s' * (↑s' /ₒ s) = 1

theorem AddOreLocalization.add_neg E1 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] (s s' : ↥S),
  ↑s -ₒ s' + (↑s' -ₒ s) = 0

theorem AddOreLocalization.zero_sub_vadd E0 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {X : Type u_2}
  [inst_2 : AddAction R X] {r : X} {s t : ↥S}, (0 -ₒ t) +ᵥ r -ₒ s = r -ₒ (s + t)

theorem OreLocalization.one_div_smul E0 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {X : Type u_2}
  [inst_2 : MulAction R X] {r : X} {s t : ↥S}, (1 /ₒ t) • (r /ₒ s) = r /ₒ (s * t)

theorem OreLocalization.one_div_mul E0 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {r : R} {s t : ↥S},
  1 /ₒ t * (r /ₒ s) = r /ₒ (s * t)

theorem AddOreLocalization.zero_sub_add E0 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {r : R} {s t : ↥S},
  0 -ₒ t + (r -ₒ s) = r -ₒ (s + t)

theorem OreLocalization.smul_cancel E0 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {X : Type u_2}
  [inst_2 : MulAction R X] {r : X} {s t : ↥S}, (↑s /ₒ t) • (r /ₒ s) = r /ₒ t

theorem AddOreLocalization.vadd_cancel E0 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {X : Type u_2}
  [inst_2 : AddAction R X] {r : X} {s t : ↥S}, (↑s -ₒ t) +ᵥ r -ₒ s = r -ₒ t

theorem AddOreLocalization.add_cancel E0 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {r : R} {s t : ↥S},
  ↑s -ₒ t + (r -ₒ s) = r -ₒ t

theorem OreLocalization.mul_cancel E0 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {r : R} {s t : ↥S},
  ↑s /ₒ t * (r /ₒ s) = r /ₒ t

theorem OreLocalization.smul_cancel' E0 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {X : Type u_2}
  [inst_2 : MulAction R X] {r₁ : R} {r₂ : X} {s t : ↥S}, (r₁ * ↑s /ₒ t) • (r₂ /ₒ s) = r₁ • r₂ /ₒ t

theorem AddOreLocalization.vadd_cancel' E0 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {X : Type u_2}
  [inst_2 : AddAction R X] {r₁ : R} {r₂ : X} {s t : ↥S}, (r₁ + ↑s -ₒ t) +ᵥ r₂ -ₒ s = (r₁ +ᵥ r₂) -ₒ t

theorem OreLocalization.mul_cancel' E0 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {r₁ r₂ : R} {s t : ↥S},
  r₁ * ↑s /ₒ t * (r₂ /ₒ s) = r₁ * r₂ /ₒ t

theorem AddOreLocalization.add_cancel' E0 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {r₁ r₂ : R}
  {s t : ↥S}, r₁ + ↑s -ₒ t + (r₂ -ₒ s) = r₁ + r₂ -ₒ t

theorem AddOreLocalization.vadd_sub_zero E0 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {X : Type u_2}
  [inst_2 : AddAction R X] {p : R} {r : X} {s : ↥S}, (p -ₒ s) +ᵥ r -ₒ 0 = (p +ᵥ r) -ₒ s

theorem OreLocalization.smul_div_one E0 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {X : Type u_2}
  [inst_2 : MulAction R X] {p : R} {r : X} {s : ↥S}, (p /ₒ s) • (r /ₒ 1) = p • r /ₒ s

theorem OreLocalization.mul_div_one E0 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {p r : R} {s : ↥S},
  p /ₒ s * (r /ₒ 1) = p * r /ₒ s

theorem AddOreLocalization.add_sub_zero E0 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {p r : R} {s : ↥S},
  p -ₒ s + (r -ₒ 0) = p + r -ₒ s

def OreLocalization.numeratorUnit E1 #

{R : Type u_1} →
  [inst : Monoid R] → {S : Submonoid R} → [inst_1 : OreLocalization.OreSet S] → ↥S → (OreLocalization S R)ˣ

The fraction s /ₒ 1 as a unit in R[S⁻¹], where s : S.

def AddOreLocalization.numeratorAddUnit E1 #

{R : Type u_1} →
  [inst : AddMonoid R] →
    {S : AddSubmonoid R} → [inst_1 : AddOreLocalization.AddOreSet S] → ↥S → AddUnits (AddOreLocalization S R)

The difference s -ₒ 0 as an additive unit.

abbrev OreLocalization.numeratorHom E1 #

{R : Type u_1} → [inst : Monoid R] → {S : Submonoid R} → [inst_1 : OreLocalization.OreSet S] → R →* OreLocalization S R

The multiplicative homomorphism from R to R[S⁻¹], mapping r : R to the fraction r /ₒ 1.

abbrev AddOreLocalization.numeratorHom E1 #

{R : Type u_1} →
  [inst : AddMonoid R] → {S : AddSubmonoid R} → [inst_1 : AddOreLocalization.AddOreSet S] → R →+ AddOreLocalization S R

The additive homomorphism from R to AddOreLocalization R S, mapping r : R to the difference r -ₒ 0.

theorem AddOreLocalization.numeratorHom_apply E0 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {r : R},
  AddOreLocalization.numeratorHom r = r -ₒ 0

theorem OreLocalization.numeratorHom_apply E0 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {r : R},
  OreLocalization.numeratorHom r = r /ₒ 1

theorem AddOreLocalization.numerator_isAddUnit E1 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] (s : ↥S),
  IsAddUnit (AddOreLocalization.numeratorHom ↑s)

theorem OreLocalization.numerator_isUnit E1 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] (s : ↥S),
  IsUnit (OreLocalization.numeratorHom ↑s)

def OreLocalization.universalMulHom E1 #

{R : Type u_1} →
  [inst : Monoid R] →
    {S : Submonoid R} →
      [inst_1 : OreLocalization.OreSet S] →
        {T : Type u_2} →
          [inst_2 : Monoid T] → (f : R →* T) → (fS : ↥S →* Tˣ) → (∀ (s : ↥S), f ↑s = ↑(fS s)) → OreLocalization S R →* T

The universal lift from a morphism R →* T, which maps elements of S to units of T, to a morphism R[S⁻¹] →* T.

def AddOreLocalization.universalAddHom E1 #

{R : Type u_1} →
  [inst : AddMonoid R] →
    {S : AddSubmonoid R} →
      [inst_1 : AddOreLocalization.AddOreSet S] →
        {T : Type u_2} →
          [inst_2 : AddMonoid T] →
            (f : R →+ T) → (fS : ↥S →+ AddUnits T) → (∀ (s : ↥S), f ↑s = ↑(fS s)) → AddOreLocalization S R →+ T

The universal lift from a morphism R →+ T, which maps elements of S to additive-units of T, to a morphism AddOreLocalization R S →+ T.

theorem OreLocalization.universalMulHom_apply E0 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {T : Type u_2}
  [inst_2 : Monoid T] (f : R →* T) (fS : ↥S →* Tˣ) (hf : ∀ (s : ↥S), f ↑s = ↑(fS s)) {r : R} {s : ↥S},
  (OreLocalization.universalMulHom f fS hf) (r /ₒ s) = ↑(fS s)⁻¹ * f r

theorem AddOreLocalization.universalAddHom_apply E0 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {T : Type u_2}
  [inst_2 : AddMonoid T] (f : R →+ T) (fS : ↥S →+ AddUnits T) (hf : ∀ (s : ↥S), f ↑s = ↑(fS s)) {r : R} {s : ↥S},
  (AddOreLocalization.universalAddHom f fS hf) (r -ₒ s) = ↑(-fS s) + f r

theorem AddOreLocalization.universalAddHom_commutes E1 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {T : Type u_2}
  [inst_2 : AddMonoid T] (f : R →+ T) (fS : ↥S →+ AddUnits T) (hf : ∀ (s : ↥S), f ↑s = ↑(fS s)) {r : R},
  (AddOreLocalization.universalAddHom f fS hf) (AddOreLocalization.numeratorHom r) = f r

theorem OreLocalization.universalMulHom_commutes E1 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {T : Type u_2}
  [inst_2 : Monoid T] (f : R →* T) (fS : ↥S →* Tˣ) (hf : ∀ (s : ↥S), f ↑s = ↑(fS s)) {r : R},
  (OreLocalization.universalMulHom f fS hf) (OreLocalization.numeratorHom r) = f r

theorem OreLocalization.universalMulHom_unique E1 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {T : Type u_2}
  [inst_2 : Monoid T] (f : R →* T) (fS : ↥S →* Tˣ) (hf : ∀ (s : ↥S), f ↑s = ↑(fS s)) (φ : OreLocalization S R →* T),
  (∀ (r : R), φ (OreLocalization.numeratorHom r) = f r) → φ = OreLocalization.universalMulHom f fS hf

The universal morphism universalMulHom is unique.

theorem AddOreLocalization.universalAddHom_unique E1 #

∀ {R : Type u_1} [inst : AddMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {T : Type u_2}
  [inst_2 : AddMonoid T] (f : R →+ T) (fS : ↥S →+ AddUnits T) (hf : ∀ (s : ↥S), f ↑s = ↑(fS s))
  (φ : AddOreLocalization S R →+ T),
  (∀ (r : R), φ (AddOreLocalization.numeratorHom r) = f r) → φ = AddOreLocalization.universalAddHom f fS hf

The universal morphism universalAddHom is unique.

def OreLocalization.hsmul E1 #

{R : Type u_1} →
  {M : Type u_3} →
    {X : Type u_4} →
      [inst : Monoid M] →
        {S : Submonoid M} →
          [inst_1 : OreLocalization.OreSet S] →
            [inst_2 : MulAction M X] → [SMul R M] → R → OreLocalization S X → OreLocalization S X

Scalar multiplication in a monoid localization.

def AddOreLocalization.hvadd E1 #

{R : Type u_1} →
  {M : Type u_3} →
    {X : Type u_4} →
      [inst : AddMonoid M] →
        {S : AddSubmonoid M} →
          [inst_1 : AddOreLocalization.AddOreSet S] →
            [inst_2 : AddAction M X] → [VAdd R M] → R → AddOreLocalization S X → AddOreLocalization S X

Vector addition in an additive monoid localization.

instance OreLocalization.instSMulOfIsScalarTower E0 #

{R : Type u_1} →
  {M : Type u_3} →
    {X : Type u_4} →
      [inst : Monoid M] →
        {S : Submonoid M} →
          [inst_1 : OreLocalization.OreSet S] →
            [inst_2 : MulAction M X] →
              [inst_3 : SMul R X] →
                [inst_4 : SMul R M] → [IsScalarTower R M X] → [IsScalarTower R M M] → SMul R (OreLocalization S X)

Warning: This gives a diamond on SMul R[S⁻¹] M[S⁻¹][S⁻¹], but we will almost never localize at the same monoid twice.

instance AddOreLocalization.instVAddOfVAddAssocClass E0 #

{R : Type u_1} →
  {M : Type u_3} →
    {X : Type u_4} →
      [inst : AddMonoid M] →
        {S : AddSubmonoid M} →
          [inst_1 : AddOreLocalization.AddOreSet S] →
            [inst_2 : AddAction M X] →
              [inst_3 : VAdd R X] →
                [inst_4 : VAdd R M] → [VAddAssocClass R M X] → [VAddAssocClass R M M] → VAdd R (AddOreLocalization S X)

Warning: This gives a diamond on VAdd R[S⁻¹] M[S⁻¹][S⁻¹], but we will almost never localize at the same additive monoid twice.

theorem AddOreLocalization.vadd_oreSub E1 #

∀ {R : Type u_1} {M : Type u_3} {X : Type u_4} [inst : AddMonoid M] {S : AddSubmonoid M}
  [inst_1 : AddOreLocalization.AddOreSet S] [inst_2 : AddAction M X] [inst_3 : VAdd R X] [inst_4 : VAdd R M]
  [inst_5 : VAddAssocClass R M M] [inst_6 : VAddAssocClass R M X] (r : R) (x : X) (s : ↥S),
  r +ᵥ x -ₒ s = (AddOreLocalization.oreMin (r +ᵥ 0) s +ᵥ x) -ₒ AddOreLocalization.oreSubtra (r +ᵥ 0) s

theorem OreLocalization.smul_oreDiv E1 #

∀ {R : Type u_1} {M : Type u_3} {X : Type u_4} [inst : Monoid M] {S : Submonoid M} [inst_1 : OreLocalization.OreSet S]
  [inst_2 : MulAction M X] [inst_3 : SMul R X] [inst_4 : SMul R M] [inst_5 : IsScalarTower R M M]
  [inst_6 : IsScalarTower R M X] (r : R) (x : X) (s : ↥S),
  r • (x /ₒ s) = OreLocalization.oreNum (r • 1) s • x /ₒ OreLocalization.oreDenom (r • 1) s

theorem AddOreLocalization.oreSub_zero_vadd E0 #

∀ {M : Type u_3} {X : Type u_4} [inst : AddMonoid M] {S : AddSubmonoid M} [inst_1 : AddOreLocalization.AddOreSet S]
  [inst_2 : AddAction M X] (r : M) (x : AddOreLocalization S X), (r -ₒ 0) +ᵥ x = r +ᵥ x

theorem OreLocalization.oreDiv_one_smul E0 #

∀ {M : Type u_3} {X : Type u_4} [inst : Monoid M] {S : Submonoid M} [inst_1 : OreLocalization.OreSet S]
  [inst_2 : MulAction M X] (r : M) (x : OreLocalization S X), (r /ₒ 1) • x = r • x

theorem AddOreLocalization.vadd_zero_vadd E1 #

∀ {R : Type u_1} {M : Type u_3} {X : Type u_4} [inst : AddMonoid M] {S : AddSubmonoid M}
  [inst_1 : AddOreLocalization.AddOreSet S] [inst_2 : AddAction M X] [inst_3 : VAdd R X] [inst_4 : VAdd R M]
  [inst_5 : VAddAssocClass R M M] [inst_6 : VAddAssocClass R M X] (r : R) (x : AddOreLocalization S X),
  (r +ᵥ 0) +ᵥ x = r +ᵥ x

theorem OreLocalization.smul_one_smul E1 #

∀ {R : Type u_1} {M : Type u_3} {X : Type u_4} [inst : Monoid M] {S : Submonoid M} [inst_1 : OreLocalization.OreSet S]
  [inst_2 : MulAction M X] [inst_3 : SMul R X] [inst_4 : SMul R M] [inst_5 : IsScalarTower R M M]
  [inst_6 : IsScalarTower R M X] (r : R) (x : OreLocalization S X), (r • 1) • x = r • x

theorem AddOreLocalization.vadd_zero_oreSub_zero_vadd E1 #

∀ {R : Type u_1} {M : Type u_3} {X : Type u_4} [inst : AddMonoid M] {S : AddSubmonoid M}
  [inst_1 : AddOreLocalization.AddOreSet S] [inst_2 : AddAction M X] [inst_3 : VAdd R X] [inst_4 : VAdd R M]
  [inst_5 : VAddAssocClass R M M] [inst_6 : VAddAssocClass R M X] (r : R) (x : AddOreLocalization S X),
  ((r +ᵥ 0) -ₒ 0) +ᵥ x = r +ᵥ x

theorem OreLocalization.smul_one_oreDiv_one_smul E1 #

∀ {R : Type u_1} {M : Type u_3} {X : Type u_4} [inst : Monoid M] {S : Submonoid M} [inst_1 : OreLocalization.OreSet S]
  [inst_2 : MulAction M X] [inst_3 : SMul R X] [inst_4 : SMul R M] [inst_5 : IsScalarTower R M M]
  [inst_6 : IsScalarTower R M X] (r : R) (x : OreLocalization S X), (r • 1 /ₒ 1) • x = r • x

instance AddOreLocalization.instVAddAssocClass E0 #

∀ {R : Type u_1} {R' : Type u_2} {M : Type u_3} {X : Type u_4} [inst : AddMonoid M] {S : AddSubmonoid M}
  [inst_1 : AddOreLocalization.AddOreSet S] [inst_2 : AddAction M X] [inst_3 : VAdd R X] [inst_4 : VAdd R M]
  [inst_5 : VAddAssocClass R M M] [inst_6 : VAddAssocClass R M X] [inst_7 : VAdd R' X] [inst_8 : VAdd R' M]
  [inst_9 : VAddAssocClass R' M M] [inst_10 : VAddAssocClass R' M X] [inst_11 : VAdd R R'] [VAddAssocClass R R' M],
  VAddAssocClass R R' (AddOreLocalization S X)

instance OreLocalization.instIsScalarTower E0 #

∀ {R : Type u_1} {R' : Type u_2} {M : Type u_3} {X : Type u_4} [inst : Monoid M] {S : Submonoid M}
  [inst_1 : OreLocalization.OreSet S] [inst_2 : MulAction M X] [inst_3 : SMul R X] [inst_4 : SMul R M]
  [inst_5 : IsScalarTower R M M] [inst_6 : IsScalarTower R M X] [inst_7 : SMul R' X] [inst_8 : SMul R' M]
  [inst_9 : IsScalarTower R' M M] [inst_10 : IsScalarTower R' M X] [inst_11 : SMul R R'] [IsScalarTower R R' M],
  IsScalarTower R R' (OreLocalization S X)

instance OreLocalization.instSMulCommClass E0 #

∀ {R : Type u_1} {R' : Type u_2} {M : Type u_3} {X : Type u_4} [inst : Monoid M] {S : Submonoid M}
  [inst_1 : OreLocalization.OreSet S] [inst_2 : MulAction M X] [inst_3 : SMul R X] [inst_4 : SMul R M]
  [inst_5 : IsScalarTower R M M] [inst_6 : IsScalarTower R M X] [inst_7 : SMul R' X] [inst_8 : SMul R' M]
  [inst_9 : IsScalarTower R' M M] [inst_10 : IsScalarTower R' M X] [SMulCommClass R R' M],
  SMulCommClass R R' (OreLocalization S X)

instance AddOreLocalization.instVAddCommClass E0 #

∀ {R : Type u_1} {R' : Type u_2} {M : Type u_3} {X : Type u_4} [inst : AddMonoid M] {S : AddSubmonoid M}
  [inst_1 : AddOreLocalization.AddOreSet S] [inst_2 : AddAction M X] [inst_3 : VAdd R X] [inst_4 : VAdd R M]
  [inst_5 : VAddAssocClass R M M] [inst_6 : VAddAssocClass R M X] [inst_7 : VAdd R' X] [inst_8 : VAdd R' M]
  [inst_9 : VAddAssocClass R' M M] [inst_10 : VAddAssocClass R' M X] [VAddCommClass R R' M],
  VAddCommClass R R' (AddOreLocalization S X)

instance AddOreLocalization.instVAddAssocClass_1 E0 #

∀ {R : Type u_1} {M : Type u_3} {X : Type u_4} [inst : AddMonoid M] {S : AddSubmonoid M}
  [inst_1 : AddOreLocalization.AddOreSet S] [inst_2 : AddAction M X] [inst_3 : VAdd R X] [inst_4 : VAdd R M]
  [inst_5 : VAddAssocClass R M M] [inst_6 : VAddAssocClass R M X],
  VAddAssocClass R (AddOreLocalization S M) (AddOreLocalization S X)

instance OreLocalization.instIsScalarTower_1 E0 #

∀ {R : Type u_1} {M : Type u_3} {X : Type u_4} [inst : Monoid M] {S : Submonoid M} [inst_1 : OreLocalization.OreSet S]
  [inst_2 : MulAction M X] [inst_3 : SMul R X] [inst_4 : SMul R M] [inst_5 : IsScalarTower R M M]
  [inst_6 : IsScalarTower R M X], IsScalarTower R (OreLocalization S M) (OreLocalization S X)

instance AddOreLocalization.instVAddCommClass_1 E0 #

∀ {R : Type u_1} {M : Type u_3} {X : Type u_4} [inst : AddMonoid M] {S : AddSubmonoid M}
  [inst_1 : AddOreLocalization.AddOreSet S] [inst_2 : AddAction M X] [inst_3 : VAdd R X] [inst_4 : VAdd R M]
  [inst_5 : VAddAssocClass R M M] [inst_6 : VAddAssocClass R M X] [VAddCommClass R M M],
  VAddCommClass R (AddOreLocalization S M) (AddOreLocalization S X)

instance OreLocalization.instSMulCommClass_1 E0 #

∀ {R : Type u_1} {M : Type u_3} {X : Type u_4} [inst : Monoid M] {S : Submonoid M} [inst_1 : OreLocalization.OreSet S]
  [inst_2 : MulAction M X] [inst_3 : SMul R X] [inst_4 : SMul R M] [inst_5 : IsScalarTower R M M]
  [inst_6 : IsScalarTower R M X] [SMulCommClass R M M], SMulCommClass R (OreLocalization S M) (OreLocalization S X)

instance OreLocalization.instIsCentralScalar E0 #

∀ {R : Type u_1} {M : Type u_3} {X : Type u_4} [inst : Monoid M] {S : Submonoid M} [inst_1 : OreLocalization.OreSet S]
  [inst_2 : MulAction M X] [inst_3 : SMul R X] [inst_4 : SMul R M] [inst_5 : IsScalarTower R M M]
  [inst_6 : IsScalarTower R M X] [inst_7 : SMul Rᵐᵒᵖ M] [inst_8 : SMul Rᵐᵒᵖ X] [inst_9 : IsScalarTower Rᵐᵒᵖ M M]
  [inst_10 : IsScalarTower Rᵐᵒᵖ M X] [IsCentralScalar R M], IsCentralScalar R (OreLocalization S X)

instance AddOreLocalization.instIsCentralVAdd E0 #

∀ {R : Type u_1} {M : Type u_3} {X : Type u_4} [inst : AddMonoid M] {S : AddSubmonoid M}
  [inst_1 : AddOreLocalization.AddOreSet S] [inst_2 : AddAction M X] [inst_3 : VAdd R X] [inst_4 : VAdd R M]
  [inst_5 : VAddAssocClass R M M] [inst_6 : VAddAssocClass R M X] [inst_7 : VAdd Rᵃᵒᵖ M] [inst_8 : VAdd Rᵃᵒᵖ X]
  [inst_9 : VAddAssocClass Rᵃᵒᵖ M M] [inst_10 : VAddAssocClass Rᵃᵒᵖ M X] [IsCentralVAdd R M],
  IsCentralVAdd R (AddOreLocalization S X)

instance OreLocalization.instMulActionOfIsScalarTower E0 #

{M : Type u_3} →
  {X : Type u_4} →
    [inst : Monoid M] →
      {S : Submonoid M} →
        [inst_1 : OreLocalization.OreSet S] →
          [inst_2 : MulAction M X] →
            {R : Type u_5} →
              [inst_3 : Monoid R] →
                [inst_4 : MulAction R M] →
                  [IsScalarTower R M M] →
                    [inst_6 : MulAction R X] → [IsScalarTower R M X] → MulAction R (OreLocalization S X)

instance AddOreLocalization.instAddActionOfVAddAssocClass E0 #

{M : Type u_3} →
  {X : Type u_4} →
    [inst : AddMonoid M] →
      {S : AddSubmonoid M} →
        [inst_1 : AddOreLocalization.AddOreSet S] →
          [inst_2 : AddAction M X] →
            {R : Type u_5} →
              [inst_3 : AddMonoid R] →
                [inst_4 : AddAction R M] →
                  [VAddAssocClass R M M] →
                    [inst_6 : AddAction R X] → [VAddAssocClass R M X] → AddAction R (AddOreLocalization S X)

theorem AddOreLocalization.vadd_oreSub_zero E1 #

∀ {R : Type u_1} {M : Type u_3} {X : Type u_4} [inst : AddMonoid M] {S : AddSubmonoid M}
  [inst_1 : AddOreLocalization.AddOreSet S] [inst_2 : AddAction M X] [inst_3 : VAdd R X] [inst_4 : VAdd R M]
  [inst_5 : VAddAssocClass R M M] [inst_6 : VAddAssocClass R M X] (r : R) (x : X), r +ᵥ x -ₒ 0 = (r +ᵥ x) -ₒ 0

theorem OreLocalization.smul_oreDiv_one E1 #

∀ {R : Type u_1} {M : Type u_3} {X : Type u_4} [inst : Monoid M] {S : Submonoid M} [inst_1 : OreLocalization.OreSet S]
  [inst_2 : MulAction M X] [inst_3 : SMul R X] [inst_4 : SMul R M] [inst_5 : IsScalarTower R M M]
  [inst_6 : IsScalarTower R M X] (r : R) (x : X), r • (x /ₒ 1) = r • x /ₒ 1

theorem OreLocalization.oreDiv_mul_oreDiv_comm E1 #

∀ {R : Type u_1} [inst : CommMonoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {r₁ r₂ : R} {s₁ s₂ : ↥S},
  r₁ /ₒ s₁ * (r₂ /ₒ s₂) = r₁ * r₂ /ₒ (s₁ * s₂)

theorem AddOreLocalization.oreSub_add_oreSub_comm E1 #

∀ {R : Type u_1} [inst : AddCommMonoid R] {S : AddSubmonoid R} [inst_1 : AddOreLocalization.AddOreSet S] {r₁ r₂ : R}
  {s₁ s₂ : ↥S}, r₁ -ₒ s₁ + (r₂ -ₒ s₂) = r₁ + r₂ -ₒ (s₁ + s₂)

instance AddOreLocalization.instAddCommMonoid E0 #

{R : Type u_1} →
  [inst : AddCommMonoid R] →
    {S : AddSubmonoid R} → [inst_1 : AddOreLocalization.AddOreSet S] → AddCommMonoid (AddOreLocalization S R)

instance OreLocalization.instCommMonoid E0 #

{R : Type u_1} →
  [inst : CommMonoid R] → {S : Submonoid R} → [inst_1 : OreLocalization.OreSet S] → CommMonoid (OreLocalization S R)

def OreLocalization.zero E1 #

{R : Type u_1} →
  [inst : Monoid R] →
    {S : Submonoid R} →
      [inst_1 : OreLocalization.OreSet S] → {X : Type u_2} → [Zero X] → [inst_3 : MulAction R X] → OreLocalization S X

0 in the localization, defined as 0 /ₒ 1.

instance OreLocalization.instZero E0 #

{R : Type u_1} →
  [inst : Monoid R] →
    {S : Submonoid R} →
      [inst_1 : OreLocalization.OreSet S] →
        {X : Type u_2} → [Zero X] → [inst_3 : MulAction R X] → Zero (OreLocalization S X)

theorem OreLocalization.zero_def E0 #

∀ {R : Type u_1} [inst : Monoid R] {S : Submonoid R} [inst_1 : OreLocalization.OreSet S] {X : Type u_2}
  [inst_2 : Zero X] [inst_3 : MulAction R X], 0 = 0 /ₒ 1