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 / V10. Commutative algebra II: valuations, Dedekind domains, local algebra

Mathlib.RingTheory.GradedAlgebra.HomogeneousLocalization

149 declarations. Mathlib docs · Source

Homogeneous Localization

Notation

  • ι is a commutative monoid;
  • A is a commutative ring;
  • σ is a class of additive subgroups of A;
  • 𝒜 : ι → σ is the grading of A;
  • x : Submonoid A is a submonoid

Main definitions and results

This file constructs the subring of Aₓ where the numerator and denominator have the same grading, i.e. {a/b ∈ Aₓ | ∃ (i : ι), a ∈ 𝒜ᵢ ∧ b ∈ 𝒜ᵢ}.

  • HomogeneousLocalization.NumDenSameDeg: a structure with a numerator and denominator field where they are required to have the same grading.

However NumDenSameDeg 𝒜 x cannot have a ring structure for many reasons, for example if c is a NumDenSameDeg, then generally, c + (-c) is not necessarily 0 for degree reasons --- 0 is considered to have grade zero (see deg_zero) but c + (-c) has the same degree as c. To circumvent this, we quotient NumDenSameDeg 𝒜 x by the kernel of c ↦ c.num / c.den.

  • HomogeneousLocalization.NumDenSameDeg.embedding: for x : Submonoid A and any c : NumDenSameDeg 𝒜 x, or equivalent a numerator and a denominator of the same degree, we get an element c.num / c.den of Aₓ.

  • HomogeneousLocalization: NumDenSameDeg 𝒜 x quotiented by kernel of embedding 𝒜 x.

  • HomogeneousLocalization.val: if f : HomogeneousLocalization 𝒜 x, then f.val is an element of Aₓ. In another word, one can view HomogeneousLocalization 𝒜 x as a subring of Aₓ through HomogeneousLocalization.val.

  • HomogeneousLocalization.num: if f : HomogeneousLocalization 𝒜 x, then f.num : A is the numerator of f.

  • HomogeneousLocalization.den: if f : HomogeneousLocalization 𝒜 x, then f.den : A is the denominator of f.

  • HomogeneousLocalization.deg: if f : HomogeneousLocalization 𝒜 x, then f.deg : ι is the degree of f such that f.num ∈ 𝒜 f.deg and f.den ∈ 𝒜 f.deg (see HomogeneousLocalization.num_mem_deg and HomogeneousLocalization.den_mem_deg).

  • HomogeneousLocalization.num_mem_deg: if f : HomogeneousLocalization 𝒜 x, then f.num_mem_deg is a proof that f.num ∈ 𝒜 f.deg.

  • HomogeneousLocalization.den_mem_deg: if f : HomogeneousLocalization 𝒜 x, then f.den_mem_deg is a proof that f.den ∈ 𝒜 f.deg.

  • HomogeneousLocalization.eq_num_div_den: if f : HomogeneousLocalization 𝒜 x, then f.val : Aₓ is equal to f.num / f.den.

  • HomogeneousLocalization.isLocalRing: HomogeneousLocalization 𝒜 x is a local ring when x is the complement of some prime ideals.

  • HomogeneousLocalization.map: Let A and B be two graded rings and g : A → B a grading-preserving ring map. If P ≤ A and Q ≤ B are submonoids such that P ≤ g⁻¹(Q), then g induces a ring map between the homogeneous localization of A at P and the homogeneous localization of B at Q.

References

  • [Robin Hartshorne, Algebraic Geometry][har77]

def HomogeneousLocalization.NumDenSameDeg.ctorIdx E1 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      {inst : CommRing A} →
        {inst_1 : SetLike σ A} → {𝒜 : ι → σ} → {x : Submonoid A} → HomogeneousLocalization.NumDenSameDeg 𝒜 x → ℕ

theorem Localization.awayLift.congr_simp E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {P : Type u_3} [inst_1 : CommSemiring P] (f f_1 : R →+* P) (e_f : f = f_1)
  (r : R) (hr : IsUnit (f r)), Localization.awayLift f r hr = Localization.awayLift f_1 r ⋯

theorem Int.castDef.match_1.congr_eq_1 E1 #

∀ (motive : ℤ → Sort u_1) (x : ℤ) (h_1 : (n : ℕ) → motive (Int.ofNat n)) (h_2 : (n : ℕ) → motive (Int.negSucc n))
  (n : ℕ),
  x = Int.ofNat n →
    (match x with
      | Int.ofNat n => h_1 n
      | Int.negSucc n => h_2 n) ≍
      h_1 n

theorem HomogeneousLocalization.NumDenSameDeg.mk.inj E1 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} {inst : CommRing A} {inst_1 : SetLike σ A} {𝒜 : ι → σ} {x : Submonoid A}
  {deg : ι} {num den : ↥(𝒜 deg)} {den_mem : ↑den ∈ x} {deg_1 : ι} {num_1 den_1 : ↥(𝒜 deg_1)} {den_mem_1 : ↑den_1 ∈ x},
  { deg := deg, num := num, den := den, den_mem := den_mem } =
      { deg := deg_1, num := num_1, den := den_1, den_mem := den_mem_1 } →
    deg = deg_1 ∧ num ≍ num_1 ∧ den ≍ den_1

theorem HomogeneousLocalization.NumDenSameDeg.mk.congr_simp E1 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] {𝒜 : ι → σ} {x : Submonoid A}
  (deg : ι) (num num_1 : ↥(𝒜 deg)),
  num = num_1 →
    ∀ (den den_1 : ↥(𝒜 deg)) (e_den : den = den_1) (den_mem : ↑den ∈ x),
      { deg := deg, num := num, den := den, den_mem := den_mem } =
        { deg := deg, num := num_1, den := den_1, den_mem := ⋯ }

theorem HomogeneousLocalization.Away.isLocalizationElem.congr_simp E1 #

∀ {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] {𝒜 : ℕ → σ}
  [inst_3 : GradedRing 𝒜] {e e_1 : ℕ} (e_e : e = e_1) {d d_1 : ℕ} (e_d : d = d_1) {f : A} (hf : f ∈ 𝒜 d) {g g_1 : A}
  (e_g : g = g_1) (hg : g ∈ 𝒜 e),
  HomogeneousLocalization.Away.isLocalizationElem hf hg = HomogeneousLocalization.Away.isLocalizationElem ⋯ ⋯

theorem HomogeneousLocalization.Away.mk.congr_simp E1 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] (𝒜 : ι → σ)
  [inst_5 : GradedRing 𝒜] {f : A} {d d_1 : ι} (e_d : d = d_1) (hf : f ∈ 𝒜 d) (n n_1 : ℕ) (e_n : n = n_1) (x x_1 : A)
  (e_x : x = x_1) (hx : x ∈ 𝒜 (n • d)),
  HomogeneousLocalization.Away.mk 𝒜 hf n x hx = HomogeneousLocalization.Away.mk 𝒜 ⋯ n_1 x_1 ⋯

theorem HomogeneousLocalization.awayMap.congr_simp E1 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] (𝒜 : ι → σ)
  [inst_5 : GradedRing 𝒜] {e e_1 : ι} (e_e : e = e_1) {f g g_1 : A} (e_g : g = g_1) (hg : g ∈ 𝒜 e) {x : A}
  (hx : x = f * g), HomogeneousLocalization.awayMap 𝒜 hg hx = HomogeneousLocalization.awayMap 𝒜 ⋯ ⋯

theorem HomogeneousLocalization.NumDenSameDeg.mk.injEq E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] {𝒜 : ι → σ} {x : Submonoid A}
  (deg : ι) (num den : ↥(𝒜 deg)) (den_mem : ↑den ∈ x) (deg_1 : ι) (num_1 den_1 : ↥(𝒜 deg_1)) (den_mem_1 : ↑den_1 ∈ x),
  ({ deg := deg, num := num, den := den, den_mem := den_mem } =
      { deg := deg_1, num := num_1, den := den_1, den_mem := den_mem_1 }) =
    (deg = deg_1 ∧ num ≍ num_1 ∧ den ≍ den_1)

theorem Int.castDef.match_1.congr_eq_2 E1 #

∀ (motive : ℤ → Sort u_1) (x : ℤ) (h_1 : (n : ℕ) → motive (Int.ofNat n)) (h_2 : (n : ℕ) → motive (Int.negSucc n))
  (n : ℕ),
  x = Int.negSucc n →
    (match x with
      | Int.ofNat n => h_1 n
      | Int.negSucc n => h_2 n) ≍
      h_2 n

theorem HomogeneousLocalization.map.congr_simp E1 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {B : Type u_4} {τ : Type u_5} [inst_6 : CommRing B] [inst_7 : SetLike τ B]
  [inst_8 : AddSubgroupClass τ B] {ℬ : ι → τ} [inst_9 : GradedRing ℬ] {P : Submonoid A} {Q : Submonoid B}
  (g g_1 : 𝒜 →+*ᵍ ℬ) (e_g : g = g_1) (comap_le : P ≤ Submonoid.comap g Q),
  HomogeneousLocalization.map g comap_le = HomogeneousLocalization.map g_1 ⋯

structure HomogeneousLocalization.NumDenSameDeg E1 #

{ι : Type u_1} →
  {A : Type u_2} → {σ : Type u_3} → [inst : CommRing A] → [SetLike σ A] → (ι → σ) → Submonoid A → Type (max u_1 u_2)

Let x be a submonoid of A, then NumDenSameDeg 𝒜 x is a structure with a numerator and a denominator with same grading such that the denominator is contained in x.

ctor HomogeneousLocalization.NumDenSameDeg.mk E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          {𝒜 : ι → σ} →
            {x : Submonoid A} →
              (deg : ι) → ↥(𝒜 deg) → (den : ↥(𝒜 deg)) → ↑den ∈ x → HomogeneousLocalization.NumDenSameDeg 𝒜 x

abbrev HomogeneousLocalization.NumDenSameDeg.deg E1 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] → {𝒜 : ι → σ} → {x : Submonoid A} → HomogeneousLocalization.NumDenSameDeg 𝒜 x → ι

abbrev HomogeneousLocalization.NumDenSameDeg.num E1 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          {𝒜 : ι → σ} → {x : Submonoid A} → (self : HomogeneousLocalization.NumDenSameDeg 𝒜 x) → ↥(𝒜 self.deg)

abbrev HomogeneousLocalization.NumDenSameDeg.den E1 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          {𝒜 : ι → σ} → {x : Submonoid A} → (self : HomogeneousLocalization.NumDenSameDeg 𝒜 x) → ↥(𝒜 self.deg)

theorem HomogeneousLocalization.NumDenSameDeg.den_mem E1 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] {𝒜 : ι → σ} {x : Submonoid A}
  (self : HomogeneousLocalization.NumDenSameDeg 𝒜 x), ↑self.den ∈ x

theorem HomogeneousLocalization.NumDenSameDeg.ext E1 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] {𝒜 : ι → σ} (x : Submonoid A)
  {c1 c2 : HomogeneousLocalization.NumDenSameDeg 𝒜 x}, c1.deg = c2.deg → ↑c1.num = ↑c2.num → ↑c1.den = ↑c2.den → c1 = c2

theorem HomogeneousLocalization.NumDenSameDeg.ext_iff E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] {𝒜 : ι → σ} {x : Submonoid A}
  {c1 c2 : HomogeneousLocalization.NumDenSameDeg 𝒜 x}, c1 = c2 ↔ c1.deg = c2.deg ∧ ↑c1.num = ↑c2.num ∧ ↑c1.den = ↑c2.den

instance HomogeneousLocalization.NumDenSameDeg.instNeg E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [NegMemClass σ A] → {𝒜 : ι → σ} → (x : Submonoid A) → Neg (HomogeneousLocalization.NumDenSameDeg 𝒜 x)

theorem HomogeneousLocalization.NumDenSameDeg.deg_neg E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : NegMemClass σ A]
  {𝒜 : ι → σ} (x : Submonoid A) (c : HomogeneousLocalization.NumDenSameDeg 𝒜 x), (-c).deg = c.deg

theorem HomogeneousLocalization.NumDenSameDeg.num_neg E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : NegMemClass σ A]
  {𝒜 : ι → σ} (x : Submonoid A) (c : HomogeneousLocalization.NumDenSameDeg 𝒜 x), ↑(-c).num = -↑c.num

theorem HomogeneousLocalization.NumDenSameDeg.den_neg E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : NegMemClass σ A]
  {𝒜 : ι → σ} (x : Submonoid A) (c : HomogeneousLocalization.NumDenSameDeg 𝒜 x), ↑(-c).den = ↑c.den

instance HomogeneousLocalization.NumDenSameDeg.instSMul E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          {𝒜 : ι → σ} →
            (x : Submonoid A) →
              {α : Type u_4} →
                [inst_2 : SMul α A] → [SMulMemClass σ α A] → SMul α (HomogeneousLocalization.NumDenSameDeg 𝒜 x)

theorem HomogeneousLocalization.NumDenSameDeg.deg_smul E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] {𝒜 : ι → σ} (x : Submonoid A)
  {α : Type u_4} [inst_2 : SMul α A] [inst_3 : SMulMemClass σ α A] (c : HomogeneousLocalization.NumDenSameDeg 𝒜 x)
  (m : α), (m • c).deg = c.deg

theorem HomogeneousLocalization.NumDenSameDeg.num_smul E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] {𝒜 : ι → σ} (x : Submonoid A)
  {α : Type u_4} [inst_2 : SMul α A] [inst_3 : SMulMemClass σ α A] (c : HomogeneousLocalization.NumDenSameDeg 𝒜 x)
  (m : α), ↑(m • c).num = m • ↑c.num

theorem HomogeneousLocalization.NumDenSameDeg.den_smul E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] {𝒜 : ι → σ} (x : Submonoid A)
  {α : Type u_4} [inst_2 : SMul α A] [inst_3 : SMulMemClass σ α A] (c : HomogeneousLocalization.NumDenSameDeg 𝒜 x)
  (m : α), ↑(m • c).den = ↑c.den

instance HomogeneousLocalization.NumDenSameDeg.instOne E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubmonoidClass σ A] →
            {𝒜 : ι → σ} →
              (x : Submonoid A) →
                [inst_3 : AddCommMonoid ι] →
                  [inst_4 : DecidableEq ι] → [GradedRing 𝒜] → One (HomogeneousLocalization.NumDenSameDeg 𝒜 x)

theorem HomogeneousLocalization.NumDenSameDeg.deg_one E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubmonoidClass σ A] {𝒜 : ι → σ} (x : Submonoid A) [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι]
  [inst_5 : GradedRing 𝒜], HomogeneousLocalization.NumDenSameDeg.deg 1 = 0

theorem HomogeneousLocalization.NumDenSameDeg.num_one E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubmonoidClass σ A] {𝒜 : ι → σ} (x : Submonoid A) [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι]
  [inst_5 : GradedRing 𝒜], ↑(HomogeneousLocalization.NumDenSameDeg.num 1) = 1

theorem HomogeneousLocalization.NumDenSameDeg.den_one E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubmonoidClass σ A] {𝒜 : ι → σ} (x : Submonoid A) [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι]
  [inst_5 : GradedRing 𝒜], ↑(HomogeneousLocalization.NumDenSameDeg.den 1) = 1

instance HomogeneousLocalization.NumDenSameDeg.instZero E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubmonoidClass σ A] →
            {𝒜 : ι → σ} →
              (x : Submonoid A) →
                [inst_3 : AddCommMonoid ι] →
                  [inst_4 : DecidableEq ι] → [GradedRing 𝒜] → Zero (HomogeneousLocalization.NumDenSameDeg 𝒜 x)

theorem HomogeneousLocalization.NumDenSameDeg.deg_zero E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubmonoidClass σ A] {𝒜 : ι → σ} (x : Submonoid A) [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι]
  [inst_5 : GradedRing 𝒜], HomogeneousLocalization.NumDenSameDeg.deg 0 = 0

theorem HomogeneousLocalization.NumDenSameDeg.num_zero E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubmonoidClass σ A] {𝒜 : ι → σ} (x : Submonoid A) [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι]
  [inst_5 : GradedRing 𝒜], HomogeneousLocalization.NumDenSameDeg.num 0 = 0

theorem HomogeneousLocalization.NumDenSameDeg.den_zero E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubmonoidClass σ A] {𝒜 : ι → σ} (x : Submonoid A) [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι]
  [inst_5 : GradedRing 𝒜], ↑(HomogeneousLocalization.NumDenSameDeg.den 0) = 1

instance HomogeneousLocalization.NumDenSameDeg.instMul E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubmonoidClass σ A] →
            {𝒜 : ι → σ} →
              (x : Submonoid A) →
                [inst_3 : AddCommMonoid ι] →
                  [inst_4 : DecidableEq ι] → [GradedRing 𝒜] → Mul (HomogeneousLocalization.NumDenSameDeg 𝒜 x)

theorem HomogeneousLocalization.NumDenSameDeg.deg_mul E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubmonoidClass σ A] {𝒜 : ι → σ} (x : Submonoid A) [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι]
  [inst_5 : GradedRing 𝒜] (c1 c2 : HomogeneousLocalization.NumDenSameDeg 𝒜 x), (c1 * c2).deg = c1.deg + c2.deg

theorem HomogeneousLocalization.NumDenSameDeg.num_mul E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubmonoidClass σ A] {𝒜 : ι → σ} (x : Submonoid A) [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι]
  [inst_5 : GradedRing 𝒜] (c1 c2 : HomogeneousLocalization.NumDenSameDeg 𝒜 x), ↑(c1 * c2).num = ↑c1.num * ↑c2.num

theorem HomogeneousLocalization.NumDenSameDeg.den_mul E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubmonoidClass σ A] {𝒜 : ι → σ} (x : Submonoid A) [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι]
  [inst_5 : GradedRing 𝒜] (c1 c2 : HomogeneousLocalization.NumDenSameDeg 𝒜 x), ↑(c1 * c2).den = ↑c1.den * ↑c2.den

instance HomogeneousLocalization.NumDenSameDeg.instAdd E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubmonoidClass σ A] →
            {𝒜 : ι → σ} →
              (x : Submonoid A) →
                [inst_3 : AddCommMonoid ι] →
                  [inst_4 : DecidableEq ι] → [GradedRing 𝒜] → Add (HomogeneousLocalization.NumDenSameDeg 𝒜 x)

theorem HomogeneousLocalization.NumDenSameDeg.deg_add E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubmonoidClass σ A] {𝒜 : ι → σ} (x : Submonoid A) [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι]
  [inst_5 : GradedRing 𝒜] (c1 c2 : HomogeneousLocalization.NumDenSameDeg 𝒜 x), (c1 + c2).deg = c1.deg + c2.deg

theorem HomogeneousLocalization.NumDenSameDeg.num_add E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubmonoidClass σ A] {𝒜 : ι → σ} (x : Submonoid A) [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι]
  [inst_5 : GradedRing 𝒜] (c1 c2 : HomogeneousLocalization.NumDenSameDeg 𝒜 x),
  ↑(c1 + c2).num = ↑c1.den * ↑c2.num + ↑c2.den * ↑c1.num

theorem HomogeneousLocalization.NumDenSameDeg.den_add E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubmonoidClass σ A] {𝒜 : ι → σ} (x : Submonoid A) [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι]
  [inst_5 : GradedRing 𝒜] (c1 c2 : HomogeneousLocalization.NumDenSameDeg 𝒜 x), ↑(c1 + c2).den = ↑c1.den * ↑c2.den

instance HomogeneousLocalization.NumDenSameDeg.instCommMonoid E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubmonoidClass σ A] →
            {𝒜 : ι → σ} →
              (x : Submonoid A) →
                [inst_3 : AddCommMonoid ι] →
                  [inst_4 : DecidableEq ι] → [GradedRing 𝒜] → CommMonoid (HomogeneousLocalization.NumDenSameDeg 𝒜 x)

instance HomogeneousLocalization.NumDenSameDeg.instPowNat E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubmonoidClass σ A] →
            {𝒜 : ι → σ} →
              (x : Submonoid A) →
                [inst_3 : AddCommMonoid ι] →
                  [inst_4 : DecidableEq ι] → [GradedRing 𝒜] → Pow (HomogeneousLocalization.NumDenSameDeg 𝒜 x) ℕ

theorem HomogeneousLocalization.NumDenSameDeg.deg_pow E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubmonoidClass σ A] {𝒜 : ι → σ} (x : Submonoid A) [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι]
  [inst_5 : GradedRing 𝒜] (c : HomogeneousLocalization.NumDenSameDeg 𝒜 x) (n : ℕ), (c ^ n).deg = n • c.deg

theorem HomogeneousLocalization.NumDenSameDeg.num_pow E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubmonoidClass σ A] {𝒜 : ι → σ} (x : Submonoid A) [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι]
  [inst_5 : GradedRing 𝒜] (c : HomogeneousLocalization.NumDenSameDeg 𝒜 x) (n : ℕ), ↑(c ^ n).num = ↑c.num ^ n

theorem HomogeneousLocalization.NumDenSameDeg.den_pow E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubmonoidClass σ A] {𝒜 : ι → σ} (x : Submonoid A) [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι]
  [inst_5 : GradedRing 𝒜] (c : HomogeneousLocalization.NumDenSameDeg 𝒜 x) (n : ℕ), ↑(c ^ n).den = ↑c.den ^ n

def HomogeneousLocalization.NumDenSameDeg.embedding E1 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          (𝒜 : ι → σ) → (x : Submonoid A) → HomogeneousLocalization.NumDenSameDeg 𝒜 x → Localization x

For x : prime ideal of A and any p : NumDenSameDeg 𝒜 x, or equivalent a numerator and a denominator of the same degree, we get an element p.num / p.den of Aₓ.

def HomogeneousLocalization E1 #

{ι : Type u_1} →
  {A : Type u_2} → {σ : Type u_3} → [inst : CommRing A] → [SetLike σ A] → (ι → σ) → Submonoid A → Type (max u_1 u_2)

For x : prime ideal of A, HomogeneousLocalization 𝒜 x is NumDenSameDeg 𝒜 x modulo the kernel of embedding 𝒜 x. This is essentially the subring of Aₓ where the numerator and denominator share the same grading.

abbrev HomogeneousLocalization.mk E1 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          {𝒜 : ι → σ} → {x : Submonoid A} → HomogeneousLocalization.NumDenSameDeg 𝒜 x → HomogeneousLocalization 𝒜 x

Construct an element of HomogeneousLocalization 𝒜 x from a homogeneous fraction.

theorem HomogeneousLocalization.mk_surjective E1 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] {𝒜 : ι → σ} {x : Submonoid A},
  Function.Surjective HomogeneousLocalization.mk

def HomogeneousLocalization.val E1 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] → {𝒜 : ι → σ} → {x : Submonoid A} → HomogeneousLocalization 𝒜 x → Localization x

View an element of HomogeneousLocalization 𝒜 x as an element of Aₓ by forgetting that the numerator and denominator are of the same grading.

theorem HomogeneousLocalization.val_mk E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] {𝒜 : ι → σ} {x : Submonoid A}
  (i : HomogeneousLocalization.NumDenSameDeg 𝒜 x),
  (HomogeneousLocalization.mk i).val = Localization.mk ↑i.num ⟨↑i.den, ⋯⟩

theorem HomogeneousLocalization.val_injective E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] {𝒜 : ι → σ} (x : Submonoid A),
  Function.Injective HomogeneousLocalization.val

theorem HomogeneousLocalization.val_injective_iff E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] {𝒜 : ι → σ} {x : Submonoid A}
  {a₁ a₂ : HomogeneousLocalization 𝒜 x}, a₁ = a₂ ↔ a₁.val = a₂.val

theorem HomogeneousLocalization.subsingleton E1 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] (𝒜 : ι → σ) {x : Submonoid A},
  0 ∈ x → Subsingleton (HomogeneousLocalization 𝒜 x)

instance HomogeneousLocalization.instSMul E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          {𝒜 : ι → σ} →
            (x : Submonoid A) →
              {α : Type u_4} →
                [inst_2 : SMul α A] →
                  [IsScalarTower α A A] → [SMulMemClass σ α A] → SMul α (HomogeneousLocalization 𝒜 x)

theorem HomogeneousLocalization.mk_smul E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] {𝒜 : ι → σ} (x : Submonoid A)
  {α : Type u_4} [inst_2 : SMul α A] [inst_3 : IsScalarTower α A A] [inst_4 : SMulMemClass σ α A]
  (i : HomogeneousLocalization.NumDenSameDeg 𝒜 x) (m : α),
  HomogeneousLocalization.mk (m • i) = m • HomogeneousLocalization.mk i

theorem HomogeneousLocalization.val_smul E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] {𝒜 : ι → σ} (x : Submonoid A)
  {α : Type u_4} [inst_2 : SMul α A] [inst_3 : IsScalarTower α A A] [inst_4 : SMulMemClass σ α A] (n : α)
  (y : HomogeneousLocalization 𝒜 x), (n • y).val = n • y.val

instance HomogeneousLocalization.instSMulNat E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [AddSubmonoidClass σ A] → {𝒜 : ι → σ} → (x : Submonoid A) → SMul ℕ (HomogeneousLocalization 𝒜 x)

theorem HomogeneousLocalization.val_nsmul E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubmonoidClass σ A] {𝒜 : ι → σ} (x : Submonoid A) (n : ℕ) (y : HomogeneousLocalization 𝒜 x),
  (n • y).val = n • y.val

instance HomogeneousLocalization.instSMulInt E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [AddSubgroupClass σ A] → {𝒜 : ι → σ} → (x : Submonoid A) → SMul ℤ (HomogeneousLocalization 𝒜 x)

theorem HomogeneousLocalization.val_zsmul E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] {𝒜 : ι → σ} (x : Submonoid A) (n : ℤ) (y : HomogeneousLocalization 𝒜 x),
  (n • y).val = n • y.val

instance HomogeneousLocalization.instNeg E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] → [NegMemClass σ A] → {𝒜 : ι → σ} → (x : Submonoid A) → Neg (HomogeneousLocalization 𝒜 x)

theorem HomogeneousLocalization.mk_neg E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : NegMemClass σ A]
  {𝒜 : ι → σ} (x : Submonoid A) (i : HomogeneousLocalization.NumDenSameDeg 𝒜 x),
  HomogeneousLocalization.mk (-i) = -HomogeneousLocalization.mk i

theorem HomogeneousLocalization.val_neg E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : NegMemClass σ A]
  {𝒜 : ι → σ} {x : Submonoid A} (y : HomogeneousLocalization 𝒜 x), (-y).val = -y.val

instance HomogeneousLocalization.hasPow E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubgroupClass σ A] →
            [inst_3 : AddCommMonoid ι] →
              [inst_4 : DecidableEq ι] →
                {𝒜 : ι → σ} → [GradedRing 𝒜] → (x : Submonoid A) → Pow (HomogeneousLocalization 𝒜 x) ℕ

theorem HomogeneousLocalization.mk_pow E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] (x : Submonoid A) (i : HomogeneousLocalization.NumDenSameDeg 𝒜 x) (n : ℕ),
  HomogeneousLocalization.mk (i ^ n) = HomogeneousLocalization.mk i ^ n

instance HomogeneousLocalization.instAdd E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubgroupClass σ A] →
            [inst_3 : AddCommMonoid ι] →
              [inst_4 : DecidableEq ι] →
                {𝒜 : ι → σ} → [GradedRing 𝒜] → (x : Submonoid A) → Add (HomogeneousLocalization 𝒜 x)

theorem HomogeneousLocalization.mk_add E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] (x : Submonoid A) (i j : HomogeneousLocalization.NumDenSameDeg 𝒜 x),
  HomogeneousLocalization.mk (i + j) = HomogeneousLocalization.mk i + HomogeneousLocalization.mk j

instance HomogeneousLocalization.instSub E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubgroupClass σ A] →
            [inst_3 : AddCommMonoid ι] →
              [inst_4 : DecidableEq ι] →
                {𝒜 : ι → σ} → [GradedRing 𝒜] → (x : Submonoid A) → Sub (HomogeneousLocalization 𝒜 x)

instance HomogeneousLocalization.instMul E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubgroupClass σ A] →
            [inst_3 : AddCommMonoid ι] →
              [inst_4 : DecidableEq ι] →
                {𝒜 : ι → σ} → [GradedRing 𝒜] → (x : Submonoid A) → Mul (HomogeneousLocalization 𝒜 x)

theorem HomogeneousLocalization.mk_mul E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] (x : Submonoid A) (i j : HomogeneousLocalization.NumDenSameDeg 𝒜 x),
  HomogeneousLocalization.mk (i * j) = HomogeneousLocalization.mk i * HomogeneousLocalization.mk j

instance HomogeneousLocalization.instOne E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubgroupClass σ A] →
            [inst_3 : AddCommMonoid ι] →
              [inst_4 : DecidableEq ι] →
                {𝒜 : ι → σ} → [GradedRing 𝒜] → (x : Submonoid A) → One (HomogeneousLocalization 𝒜 x)

theorem HomogeneousLocalization.mk_one E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] (x : Submonoid A), HomogeneousLocalization.mk 1 = 1

instance HomogeneousLocalization.instZero E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubgroupClass σ A] →
            [inst_3 : AddCommMonoid ι] →
              [inst_4 : DecidableEq ι] →
                {𝒜 : ι → σ} → [GradedRing 𝒜] → (x : Submonoid A) → Zero (HomogeneousLocalization 𝒜 x)

theorem HomogeneousLocalization.mk_zero E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] (x : Submonoid A), HomogeneousLocalization.mk 0 = 0

theorem HomogeneousLocalization.zero_eq E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] (x : Submonoid A), 0 = Quotient.mk'' 0

theorem HomogeneousLocalization.one_eq E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] (x : Submonoid A), 1 = Quotient.mk'' 1

theorem HomogeneousLocalization.val_zero E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {x : Submonoid A}, HomogeneousLocalization.val 0 = 0

theorem HomogeneousLocalization.val_one E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {x : Submonoid A}, HomogeneousLocalization.val 1 = 1

theorem HomogeneousLocalization.val_add E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {x : Submonoid A} (y1 y2 : HomogeneousLocalization 𝒜 x), (y1 + y2).val = y1.val + y2.val

theorem HomogeneousLocalization.val_mul E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {x : Submonoid A} (y1 y2 : HomogeneousLocalization 𝒜 x), (y1 * y2).val = y1.val * y2.val

theorem HomogeneousLocalization.val_sub E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {x : Submonoid A} (y1 y2 : HomogeneousLocalization 𝒜 x), (y1 - y2).val = y1.val - y2.val

theorem HomogeneousLocalization.val_pow E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {x : Submonoid A} (y : HomogeneousLocalization 𝒜 x) (n : ℕ), (y ^ n).val = y.val ^ n

instance HomogeneousLocalization.instNatCast E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubgroupClass σ A] →
            [inst_3 : AddCommMonoid ι] →
              [inst_4 : DecidableEq ι] →
                {𝒜 : ι → σ} → [GradedRing 𝒜] → {x : Submonoid A} → NatCast (HomogeneousLocalization 𝒜 x)

instance HomogeneousLocalization.instIntCast E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubgroupClass σ A] →
            [inst_3 : AddCommMonoid ι] →
              [inst_4 : DecidableEq ι] →
                {𝒜 : ι → σ} → [GradedRing 𝒜] → {x : Submonoid A} → IntCast (HomogeneousLocalization 𝒜 x)

theorem HomogeneousLocalization.val_natCast E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {x : Submonoid A} (n : ℕ), (↑n).val = ↑n

theorem HomogeneousLocalization.val_intCast E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {x : Submonoid A} (n : ℤ), (↑n).val = ↑n

instance HomogeneousLocalization.homogeneousLocalizationCommRing E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubgroupClass σ A] →
            [inst_3 : AddCommMonoid ι] →
              [inst_4 : DecidableEq ι] →
                {𝒜 : ι → σ} → [GradedRing 𝒜] → {x : Submonoid A} → CommRing (HomogeneousLocalization 𝒜 x)

instance HomogeneousLocalization.homogeneousLocalizationAlgebra E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubgroupClass σ A] →
            [inst_3 : AddCommMonoid ι] →
              [inst_4 : DecidableEq ι] →
                {𝒜 : ι → σ} →
                  [inst_5 : GradedRing 𝒜] → {x : Submonoid A} → Algebra (HomogeneousLocalization 𝒜 x) (Localization x)

theorem HomogeneousLocalization.algebraMap_apply E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {x : Submonoid A} (y : HomogeneousLocalization 𝒜 x),
  (algebraMap (HomogeneousLocalization 𝒜 x) (Localization x)) y = y.val

theorem HomogeneousLocalization.mk_eq_zero_of_num E1 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {x : Submonoid A} (f : HomogeneousLocalization.NumDenSameDeg 𝒜 x),
  f.num = 0 → HomogeneousLocalization.mk f = 0

theorem HomogeneousLocalization.mk_eq_zero_of_den E1 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {x : Submonoid A} (f : HomogeneousLocalization.NumDenSameDeg 𝒜 x),
  f.den = 0 → HomogeneousLocalization.mk f = 0

def HomogeneousLocalization.fromZeroRingHom E1 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubgroupClass σ A] →
            [inst_3 : AddCommMonoid ι] →
              [inst_4 : DecidableEq ι] →
                (𝒜 : ι → σ) → [inst_5 : GradedRing 𝒜] → (x : Submonoid A) → ↥(𝒜 0) →+* HomogeneousLocalization 𝒜 x

The map from 𝒜 0 to the degree 0 part of 𝒜ₓ sending f ↦ f/1.

instance HomogeneousLocalization.instAlgebraSubtypeMemOfNat E0 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubgroupClass σ A] →
            [inst_3 : AddCommMonoid ι] →
              [inst_4 : DecidableEq ι] →
                {𝒜 : ι → σ} →
                  [inst_5 : GradedRing 𝒜] → {x : Submonoid A} → Algebra (↥(𝒜 0)) (HomogeneousLocalization 𝒜 x)

theorem HomogeneousLocalization.algebraMap_eq E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {x : Submonoid A},
  algebraMap (↥(𝒜 0)) (HomogeneousLocalization 𝒜 x) = HomogeneousLocalization.fromZeroRingHom 𝒜 x

instance HomogeneousLocalization.instIsScalarTowerSubtypeMemOfNatLocalization E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {x : Submonoid A}, IsScalarTower (↥(𝒜 0)) (HomogeneousLocalization 𝒜 x) (Localization x)

def HomogeneousLocalization.num E1 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] → [inst_1 : SetLike σ A] → {𝒜 : ι → σ} → {x : Submonoid A} → HomogeneousLocalization 𝒜 x → A

Numerator of an element in HomogeneousLocalization x.

def HomogeneousLocalization.den E1 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] → [inst_1 : SetLike σ A] → {𝒜 : ι → σ} → {x : Submonoid A} → HomogeneousLocalization 𝒜 x → A

Denominator of an element in HomogeneousLocalization x.

def HomogeneousLocalization.deg E1 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] → [inst_1 : SetLike σ A] → {𝒜 : ι → σ} → {x : Submonoid A} → HomogeneousLocalization 𝒜 x → ι

For an element in HomogeneousLocalization x, degree is the natural number i such that 𝒜 i contains both numerator and denominator.

theorem HomogeneousLocalization.den_mem E1 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] {𝒜 : ι → σ} {x : Submonoid A}
  (f : HomogeneousLocalization 𝒜 x), f.den ∈ x

theorem HomogeneousLocalization.num_mem_deg E1 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] {𝒜 : ι → σ} {x : Submonoid A}
  (f : HomogeneousLocalization 𝒜 x), f.num ∈ 𝒜 f.deg

theorem HomogeneousLocalization.den_mem_deg E1 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] {𝒜 : ι → σ} {x : Submonoid A}
  (f : HomogeneousLocalization 𝒜 x), f.den ∈ 𝒜 f.deg

theorem HomogeneousLocalization.den_smul_val E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] {𝒜 : ι → σ} {x : Submonoid A}
  (f : HomogeneousLocalization 𝒜 x), f.den • f.val = (algebraMap A (Localization x)) f.num

theorem HomogeneousLocalization.ext_iff_val E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] {𝒜 : ι → σ} {x : Submonoid A}
  (f g : HomogeneousLocalization 𝒜 x), f = g ↔ f.val = g.val

abbrev HomogeneousLocalization.AtPrime E1 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} → [inst : CommRing A] → [SetLike σ A] → (ι → σ) → (𝔭 : Ideal A) → [𝔭.IsPrime] → Type (max u_1 u_2)

Localizing a ring homogeneously at a prime ideal.

theorem HomogeneousLocalization.isUnit_iff_isUnit_val E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] (𝒜 : ι → σ) [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι]
  [inst_5 : GradedRing 𝒜] (𝔭 : Ideal A) [inst_6 : 𝔭.IsPrime] (f : HomogeneousLocalization.AtPrime 𝒜 𝔭),
  IsUnit (HomogeneousLocalization.val f) ↔ IsUnit f

instance HomogeneousLocalization.instNontrivialAtPrime E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] (𝒜 : ι → σ) [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] [GradedRing 𝒜]
  (𝔭 : Ideal A) [inst_6 : 𝔭.IsPrime], Nontrivial (HomogeneousLocalization.AtPrime 𝒜 𝔭)

instance HomogeneousLocalization.isLocalRing E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] (𝒜 : ι → σ) [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι]
  [inst_5 : GradedRing 𝒜] (𝔭 : Ideal A) [inst_6 : 𝔭.IsPrime], IsLocalRing (HomogeneousLocalization.AtPrime 𝒜 𝔭)

abbrev HomogeneousLocalization.Away E1 #

{ι : Type u_1} → {A : Type u_2} → {σ : Type u_3} → [CommRing A] → [SetLike σ A] → (ι → σ) → A → Type (max u_1 u_2)

Localizing away from powers of f homogeneously.

def HomogeneousLocalization.Away.mk E1 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubgroupClass σ A] →
            [inst_3 : AddCommMonoid ι] →
              [inst_4 : DecidableEq ι] →
                (𝒜 : ι → σ) →
                  [GradedRing 𝒜] →
                    {f : A} → {d : ι} → f ∈ 𝒜 d → (n : ℕ) → (x : A) → x ∈ 𝒜 (n • d) → HomogeneousLocalization.Away 𝒜 f

This is a convenient constructor for Away 𝒜 f when f is homogeneous. Away.mk 𝒜 hf n x hx is the fraction x / f ^ n.

theorem HomogeneousLocalization.Away.val_mk E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] (𝒜 : ι → σ)
  [inst_5 : GradedRing 𝒜] {f : A} {d : ι} (n : ℕ) (hf : f ∈ 𝒜 d) (x : A) (hx : x ∈ 𝒜 (n • d)),
  HomogeneousLocalization.val (HomogeneousLocalization.Away.mk 𝒜 hf n x hx) = Localization.mk x ⟨f ^ n, ⋯⟩

theorem HomogeneousLocalization.Away.mk_surjective E1 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] (𝒜 : ι → σ)
  [inst_5 : GradedRing 𝒜] {f : A} {d : ι} (hf : f ∈ 𝒜 d) (x : HomogeneousLocalization.Away 𝒜 f),
  ∃ n a, ∃ (ha : a ∈ 𝒜 (n • d)), HomogeneousLocalization.Away.mk 𝒜 hf n a ha = x

theorem HomogeneousLocalization.Away.eventually_smul_mem E1 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ} [GradedRing 𝒜] {f : A}
  {m : ι},
  f ∈ 𝒜 m →
    ∀ (z : HomogeneousLocalization.Away 𝒜 f),
      ∀ᶠ (n : ℕ) in Filter.atTop,
        f ^ n • HomogeneousLocalization.val z ∈ ⇑(algebraMap A (Localization (Submonoid.powers f))) '' ↑(𝒜 (n • m))

def HomogeneousLocalization.NumDenSameDeg.map E1 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [AddSubgroupClass σ A] →
            {𝒜 : ι → σ} →
              {B : Type u_4} →
                {τ : Type u_5} →
                  [inst_3 : CommRing B] →
                    [inst_4 : SetLike τ B] →
                      [AddSubgroupClass τ B] →
                        {ℬ : ι → τ} →
                          (f : 𝒜 →+*ᵍ ℬ) →
                            {W₁ : Submonoid A} →
                              {W₂ : Submonoid B} →
                                W₁ ≤ Submonoid.comap f W₂ →
                                  HomogeneousLocalization.NumDenSameDeg 𝒜 W₁ →
                                    HomogeneousLocalization.NumDenSameDeg ℬ W₂

Map NumDenSameDeg along a graded ring hom.

theorem HomogeneousLocalization.NumDenSameDeg.map_num E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] {𝒜 : ι → σ} {B : Type u_4} {τ : Type u_5} [inst_3 : CommRing B] [inst_4 : SetLike τ B]
  [inst_5 : AddSubgroupClass τ B] {ℬ : ι → τ} (f : 𝒜 →+*ᵍ ℬ) {W₁ : Submonoid A} {W₂ : Submonoid B}
  (hw : W₁ ≤ Submonoid.comap f W₂) (c : HomogeneousLocalization.NumDenSameDeg 𝒜 W₁),
  (HomogeneousLocalization.NumDenSameDeg.map f hw c).num = (f.gradedAddHom c.deg) c.num

theorem HomogeneousLocalization.NumDenSameDeg.map_den E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] {𝒜 : ι → σ} {B : Type u_4} {τ : Type u_5} [inst_3 : CommRing B] [inst_4 : SetLike τ B]
  [inst_5 : AddSubgroupClass τ B] {ℬ : ι → τ} (f : 𝒜 →+*ᵍ ℬ) {W₁ : Submonoid A} {W₂ : Submonoid B}
  (hw : W₁ ≤ Submonoid.comap f W₂) (c : HomogeneousLocalization.NumDenSameDeg 𝒜 W₁),
  (HomogeneousLocalization.NumDenSameDeg.map f hw c).den = (f.gradedAddHom c.deg) c.den

theorem HomogeneousLocalization.NumDenSameDeg.map_deg E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] {𝒜 : ι → σ} {B : Type u_4} {τ : Type u_5} [inst_3 : CommRing B] [inst_4 : SetLike τ B]
  [inst_5 : AddSubgroupClass τ B] {ℬ : ι → τ} (f : 𝒜 →+*ᵍ ℬ) {W₁ : Submonoid A} {W₂ : Submonoid B}
  (hw : W₁ ≤ Submonoid.comap f W₂) (c : HomogeneousLocalization.NumDenSameDeg 𝒜 W₁),
  (HomogeneousLocalization.NumDenSameDeg.map f hw c).deg = c.deg

def HomogeneousLocalization.map E1 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubgroupClass σ A] →
            [inst_3 : AddCommMonoid ι] →
              [inst_4 : DecidableEq ι] →
                {𝒜 : ι → σ} →
                  [inst_5 : GradedRing 𝒜] →
                    {B : Type u_4} →
                      {τ : Type u_5} →
                        [inst_6 : CommRing B] →
                          [inst_7 : SetLike τ B] →
                            [inst_8 : AddSubgroupClass τ B] →
                              {ℬ : ι → τ} →
                                [inst_9 : GradedRing ℬ] →
                                  {P : Submonoid A} →
                                    {Q : Submonoid B} →
                                      (g : 𝒜 →+*ᵍ ℬ) →
                                        P ≤ Submonoid.comap g Q →
                                          HomogeneousLocalization 𝒜 P →+* HomogeneousLocalization ℬ Q

Let A, B be two graded rings with the same indexing set and g : 𝒜 →+*ᵍ ℬ be a graded ring homomorphism. Let P ≤ A be a submonoid and Q ≤ B be a submonoid such that P ≤ g⁻¹ Q, then g induces a map from the homogeneous localization A⁰_P to the homogeneous localization B⁰_Q.

abbrev HomogeneousLocalization.mapId E1 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubgroupClass σ A] →
            [inst_3 : AddCommMonoid ι] →
              [inst_4 : DecidableEq ι] →
                (𝒜 : ι → σ) →
                  [inst_5 : GradedRing 𝒜] →
                    {P Q : Submonoid A} → P ≤ Q → HomogeneousLocalization 𝒜 P →+* HomogeneousLocalization 𝒜 Q

Let A be a graded ring and P ≤ Q be two submonoids, then the homogeneous localization of A at P embeds into the homogeneous localization of A at Q.

theorem HomogeneousLocalization.map_mk E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {B : Type u_4} {τ : Type u_5} [inst_6 : CommRing B] [inst_7 : SetLike τ B]
  [inst_8 : AddSubgroupClass τ B] {ℬ : ι → τ} [inst_9 : GradedRing ℬ] {P : Submonoid A} {Q : Submonoid B} (g : 𝒜 →+*ᵍ ℬ)
  (comap_le : P ≤ Submonoid.comap g Q) (x : HomogeneousLocalization.NumDenSameDeg 𝒜 P),
  (HomogeneousLocalization.map g comap_le) (HomogeneousLocalization.mk x) =
    HomogeneousLocalization.mk { deg := x.deg, num := ⟨g ↑x.num, ⋯⟩, den := ⟨g ↑x.den, ⋯⟩, den_mem := ⋯ }

theorem HomogeneousLocalization.map_id E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] (𝒜 : ι → σ)
  [inst_5 : GradedRing 𝒜] (P : Submonoid A),
  HomogeneousLocalization.map (GradedRingHom.id 𝒜) ⋯ = RingHom.id (HomogeneousLocalization 𝒜 P)

theorem HomogeneousLocalization.map_comp E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {B : Type u_4} {τ : Type u_5} [inst_6 : CommRing B] [inst_7 : SetLike τ B]
  [inst_8 : AddSubgroupClass τ B] {ℬ : ι → τ} [inst_9 : GradedRing ℬ] {C : Type u_6} {ψ : Type u_7}
  [inst_10 : CommRing C] [inst_11 : SetLike ψ C] [inst_12 : AddSubgroupClass ψ C] {𝒞 : ι → ψ} [inst_13 : GradedRing 𝒞]
  {f : 𝒜 →+*ᵍ ℬ} {g : ℬ →+*ᵍ 𝒞} {P : Submonoid A} {Q : Submonoid B} {R : Submonoid C} (hpq : P ≤ Submonoid.comap f Q)
  (hqr : Q ≤ Submonoid.comap g R),
  HomogeneousLocalization.map (g.comp f) ⋯ =
    (HomogeneousLocalization.map g hqr).comp (HomogeneousLocalization.map f hpq)

theorem HomogeneousLocalization.map_map E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {B : Type u_4} {τ : Type u_5} [inst_6 : CommRing B] [inst_7 : SetLike τ B]
  [inst_8 : AddSubgroupClass τ B] {ℬ : ι → τ} [inst_9 : GradedRing ℬ] {C : Type u_6} {ψ : Type u_7}
  [inst_10 : CommRing C] [inst_11 : SetLike ψ C] [inst_12 : AddSubgroupClass ψ C] {𝒞 : ι → ψ} [inst_13 : GradedRing 𝒞]
  {f : 𝒜 →+*ᵍ ℬ} {g : ℬ →+*ᵍ 𝒞} {P : Submonoid A} {Q : Submonoid B} {R : Submonoid C} (hpq : P ≤ Submonoid.comap f Q)
  (hqr : Q ≤ Submonoid.comap g R) (x : HomogeneousLocalization 𝒜 P),
  (HomogeneousLocalization.map g hqr) ((HomogeneousLocalization.map f hpq) x) =
    (HomogeneousLocalization.map (g.comp f) ⋯) x

def HomogeneousLocalization.Away.map E1 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubgroupClass σ A] →
            [inst_3 : AddCommMonoid ι] →
              [inst_4 : DecidableEq ι] →
                {𝒜 : ι → σ} →
                  [inst_5 : GradedRing 𝒜] →
                    {B : Type u_4} →
                      {τ : Type u_5} →
                        [inst_6 : CommRing B] →
                          [inst_7 : SetLike τ B] →
                            [inst_8 : AddSubgroupClass τ B] →
                              {ℬ : ι → τ} →
                                [inst_9 : GradedRing ℬ] →
                                  (g : 𝒜 →+*ᵍ ℬ) →
                                    (f : A) → HomogeneousLocalization.Away 𝒜 f →+* HomogeneousLocalization.Away ℬ (g f)

If g : 𝒜 →+*ᵍ ℬ is a graded ring homomorphism and f : A then we have a map Away 𝒜 f →+* Away ℬ (g f).

theorem HomogeneousLocalization.Away.map_mk E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {B : Type u_4} {τ : Type u_5} [inst_6 : CommRing B] [inst_7 : SetLike τ B]
  [inst_8 : AddSubgroupClass τ B] {ℬ : ι → τ} [inst_9 : GradedRing ℬ] {d : ι} (g : 𝒜 →+*ᵍ ℬ) (f : A) (hf : f ∈ 𝒜 d)
  (n : ℕ) (x : A) (hx : x ∈ 𝒜 (n • d)),
  (HomogeneousLocalization.Away.map g f) (HomogeneousLocalization.Away.mk 𝒜 hf n x hx) =
    HomogeneousLocalization.Away.mk ℬ ⋯ n (g x) ⋯

theorem HomogeneousLocalization.Away.map_id E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] (𝒜 : ι → σ)
  [inst_5 : GradedRing 𝒜] (f : A),
  HomogeneousLocalization.Away.map (GradedRingHom.id 𝒜) f = RingHom.id (HomogeneousLocalization.Away 𝒜 f)

theorem HomogeneousLocalization.Away.map_comp E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {B : Type u_4} {τ : Type u_5} [inst_6 : CommRing B] [inst_7 : SetLike τ B]
  [inst_8 : AddSubgroupClass τ B] {ℬ : ι → τ} [inst_9 : GradedRing ℬ] {C : Type u_6} {ψ : Type u_7}
  [inst_10 : CommRing C] [inst_11 : SetLike ψ C] [inst_12 : AddSubgroupClass ψ C] {𝒞 : ι → ψ} [inst_13 : GradedRing 𝒞]
  (f : 𝒜 →+*ᵍ ℬ) (g : ℬ →+*ᵍ 𝒞) (s : A),
  HomogeneousLocalization.Away.map (g.comp f) s =
    (HomogeneousLocalization.Away.map g (f s)).comp (HomogeneousLocalization.Away.map f s)

theorem HomogeneousLocalization.Away.map_map E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {B : Type u_4} {τ : Type u_5} [inst_6 : CommRing B] [inst_7 : SetLike τ B]
  [inst_8 : AddSubgroupClass τ B] {ℬ : ι → τ} [inst_9 : GradedRing ℬ] {C : Type u_6} {ψ : Type u_7}
  [inst_10 : CommRing C] [inst_11 : SetLike ψ C] [inst_12 : AddSubgroupClass ψ C] {𝒞 : ι → ψ} [inst_13 : GradedRing 𝒞]
  (f : 𝒜 →+*ᵍ ℬ) (g : ℬ →+*ᵍ 𝒞) (s : A) (x : HomogeneousLocalization.Away 𝒜 s),
  (HomogeneousLocalization.Away.map g (f s)) ((HomogeneousLocalization.Away.map f s) x) =
    (HomogeneousLocalization.Away.map (g.comp f) s) x

def HomogeneousLocalization.localRingHom E1 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubgroupClass σ A] →
            [inst_3 : AddCommMonoid ι] →
              [inst_4 : DecidableEq ι] →
                {𝒜 : ι → σ} →
                  [inst_5 : GradedRing 𝒜] →
                    {B : Type u_4} →
                      {τ : Type u_5} →
                        [inst_6 : CommRing B] →
                          [inst_7 : SetLike τ B] →
                            [inst_8 : AddSubgroupClass τ B] →
                              {ℬ : ι → τ} →
                                [inst_9 : GradedRing ℬ] →
                                  (f : 𝒜 →+*ᵍ ℬ) →
                                    (I : Ideal A) →
                                      [inst_10 : I.IsPrime] →
                                        (J : Ideal B) →
                                          [inst_11 : J.IsPrime] →
                                            I = Ideal.comap f J →
                                              HomogeneousLocalization.AtPrime 𝒜 I →+*
                                                HomogeneousLocalization.AtPrime ℬ J

If f : 𝒜 →+*ᵍ ℬ is a graded ring homomorphism and I is a prime ideal of A and J is a prime ideal of B and f⁻¹ J = I then we have a map AtPrime 𝒜 I →+* AtPrime ℬ J.

theorem HomogeneousLocalization.val_localRingHom E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {B : Type u_4} {τ : Type u_5} [inst_6 : CommRing B] [inst_7 : SetLike τ B]
  [inst_8 : AddSubgroupClass τ B] {ℬ : ι → τ} [inst_9 : GradedRing ℬ] {f : 𝒜 →+*ᵍ ℬ} {I : Ideal A} [inst_10 : I.IsPrime]
  {J : Ideal B} [inst_11 : J.IsPrime] {hIJ : I = Ideal.comap f J} (x : HomogeneousLocalization.AtPrime 𝒜 I),
  HomogeneousLocalization.val ((HomogeneousLocalization.localRingHom f I J hIJ) x) =
    (Localization.localRingHom I J (↑f) hIJ) (HomogeneousLocalization.val x)

instance HomogeneousLocalization.instIsLocalHomAtPrimeRingHomLocalRingHom E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {B : Type u_4} {τ : Type u_5} [inst_6 : CommRing B] [inst_7 : SetLike τ B]
  [inst_8 : AddSubgroupClass τ B] {ℬ : ι → τ} [inst_9 : GradedRing ℬ] {f : 𝒜 →+*ᵍ ℬ} {I : Ideal A} [inst_10 : I.IsPrime]
  {J : Ideal B} [inst_11 : J.IsPrime] {hIJ : I = Ideal.comap f J},
  IsLocalHom (HomogeneousLocalization.localRingHom f I J hIJ)

theorem HomogeneousLocalization.awayMapAux_mk E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] (𝒜 : ι → σ)
  [inst_5 : GradedRing 𝒜] {f g x : A} (hx : x = f * g) (n : ι) (a : ↥(𝒜 n)) (i : ℕ) (hi : f ^ i ∈ 𝒜 n),
  (HomogeneousLocalization.awayMapAux✝ 𝒜 ⋯)
      (HomogeneousLocalization.mk { deg := n, num := a, den := ⟨f ^ i, hi⟩, den_mem := ⋯ }) =
    Localization.mk (↑a * g ^ i) ⟨x ^ i, ⋯⟩

theorem HomogeneousLocalization.range_awayMapAux_subset E1 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] (𝒜 : ι → σ)
  [inst_5 : GradedRing 𝒜] {e : ι} {f g : A},
  g ∈ 𝒜 e →
    ∀ {x : A} (hx : x = f * g),
      Set.range ⇑(HomogeneousLocalization.awayMapAux✝ 𝒜 ⋯) ⊆ Set.range HomogeneousLocalization.val

def HomogeneousLocalization.awayMap E1 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubgroupClass σ A] →
            [inst_3 : AddCommMonoid ι] →
              [inst_4 : DecidableEq ι] →
                (𝒜 : ι → σ) →
                  [inst_5 : GradedRing 𝒜] →
                    {e : ι} →
                      {f g : A} →
                        g ∈ 𝒜 e →
                          {x : A} → x = f * g → HomogeneousLocalization.Away 𝒜 f →+* HomogeneousLocalization.Away 𝒜 x

Given x = f * g with g homogeneous of positive degree, this is the map A_{(f)} → A_{(x)} taking a/f^i to ag^i/(fg)^i.

theorem HomogeneousLocalization.val_awayMap_eq_aux E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] (𝒜 : ι → σ)
  [inst_5 : GradedRing 𝒜] {e : ι} {f g : A} (hg : g ∈ 𝒜 e) {x : A} (hx : x = f * g)
  (a : HomogeneousLocalization.Away 𝒜 f),
  HomogeneousLocalization.val ((HomogeneousLocalization.awayMap 𝒜 hg hx) a) =
    (HomogeneousLocalization.awayMapAux✝ 𝒜 ⋯) a

theorem HomogeneousLocalization.val_awayMap E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] (𝒜 : ι → σ)
  [inst_5 : GradedRing 𝒜] {e : ι} {f g : A} (hg : g ∈ 𝒜 e) {x : A} (hx : x = f * g)
  (a : HomogeneousLocalization.Away 𝒜 f),
  HomogeneousLocalization.val ((HomogeneousLocalization.awayMap 𝒜 hg hx) a) =
    (Localization.awayLift (algebraMap A (Localization (Submonoid.powers x))) f ⋯) (HomogeneousLocalization.val a)

theorem HomogeneousLocalization.awayMap_fromZeroRingHom E1 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] (𝒜 : ι → σ)
  [inst_5 : GradedRing 𝒜] {e : ι} {f g : A} (hg : g ∈ 𝒜 e) {x : A} (hx : x = f * g) (a : ↥(𝒜 0)),
  (HomogeneousLocalization.awayMap 𝒜 hg hx) ((HomogeneousLocalization.fromZeroRingHom 𝒜 (Submonoid.powers f)) a) =
    (HomogeneousLocalization.fromZeroRingHom 𝒜 (Submonoid.powers x)) a

theorem HomogeneousLocalization.val_awayMap_mk E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] (𝒜 : ι → σ)
  [inst_5 : GradedRing 𝒜] {e : ι} {f g : A} (hg : g ∈ 𝒜 e) {x : A} (hx : x = f * g) (n : ι) (a : ↥(𝒜 n)) (i : ℕ)
  (hi : f ^ i ∈ 𝒜 n),
  HomogeneousLocalization.val
      ((HomogeneousLocalization.awayMap 𝒜 hg hx)
        (HomogeneousLocalization.mk { deg := n, num := a, den := ⟨f ^ i, hi⟩, den_mem := ⋯ })) =
    Localization.mk (↑a * g ^ i) ⟨x ^ i, ⋯⟩

def HomogeneousLocalization.awayMapₐ E1 #

{ι : Type u_1} →
  {A : Type u_2} →
    {σ : Type u_3} →
      [inst : CommRing A] →
        [inst_1 : SetLike σ A] →
          [inst_2 : AddSubgroupClass σ A] →
            [inst_3 : AddCommMonoid ι] →
              [inst_4 : DecidableEq ι] →
                (𝒜 : ι → σ) →
                  [inst_5 : GradedRing 𝒜] →
                    {e : ι} →
                      {f g : A} →
                        g ∈ 𝒜 e →
                          {x : A} →
                            x = f * g → HomogeneousLocalization.Away 𝒜 f →ₐ[↥(𝒜 0)] HomogeneousLocalization.Away 𝒜 x

Given x = f * g with g homogeneous of positive degree, this is the map A_{(f)} → A_{(x)} taking a/f^i to ag^i/(fg)^i.

theorem HomogeneousLocalization.awayMapₐ_apply E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] (𝒜 : ι → σ)
  [inst_5 : GradedRing 𝒜] {e : ι} {f g : A} (hg : g ∈ 𝒜 e) {x : A} (hx : x = f * g)
  (a : HomogeneousLocalization.Away 𝒜 f),
  (HomogeneousLocalization.awayMapₐ 𝒜 hg hx) a = (HomogeneousLocalization.awayMap 𝒜 hg hx) a

theorem HomogeneousLocalization.awayMap_mk E0 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] (𝒜 : ι → σ)
  [inst_5 : GradedRing 𝒜] {e : ι} {f g : A} (hg : g ∈ 𝒜 e) {x : A} (hx : x = f * g) {d : ι} (n : ℕ) (hf : f ∈ 𝒜 d)
  (a : A) (ha : a ∈ 𝒜 (n • d)),
  (HomogeneousLocalization.awayMap 𝒜 hg hx) (HomogeneousLocalization.Away.mk 𝒜 hf n a ha) =
    HomogeneousLocalization.Away.mk 𝒜 ⋯ n (a * g ^ n) ⋯

abbrev HomogeneousLocalization.Away.isLocalizationElem E1 #

{A : Type u_2} →
  {σ : Type u_3} →
    [inst : CommRing A] →
      [inst_1 : SetLike σ A] →
        [inst_2 : AddSubgroupClass σ A] →
          {𝒜 : ℕ → σ} →
            [GradedRing 𝒜] → {e d : ℕ} → {f : A} → f ∈ 𝒜 d → {g : A} → g ∈ 𝒜 e → HomogeneousLocalization.Away 𝒜 f

The element t := g ^ d / f ^ e such that A_{(fg)} = A_{(f)}[1/t].

theorem HomogeneousLocalization.Away.isLocalization_mul E1 #

∀ {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] {𝒜 : ℕ → σ}
  [inst_3 : GradedRing 𝒜] {e d : ℕ} {f : A} (hf : f ∈ 𝒜 d) {g : A} (hg : g ∈ 𝒜 e) {x : A} (hx : x = f * g),
  d ≠ 0 → IsLocalization.Away (HomogeneousLocalization.Away.isLocalizationElem hf hg) (HomogeneousLocalization.Away 𝒜 x)

Let t := g ^ d / f ^ e, then A_{(fg)} = A_{(f)}[1/t].

theorem HomogeneousLocalization.Away.span_mk_prod_pow_eq_top E1 #

∀ {ι : Type u_1} {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A]
  [inst_2 : AddSubgroupClass σ A] [inst_3 : AddCommMonoid ι] [inst_4 : DecidableEq ι] {𝒜 : ι → σ}
  [inst_5 : GradedRing 𝒜] {f : A} {d : ι} (hf : f ∈ 𝒜 d) {ι' : Type u_4} [inst_6 : Fintype ι'] (v : ι' → A),
  Algebra.adjoin (↥(𝒜 0)) (Set.range v) = ⊤ →
    ∀ (dv : ι' → ι) (hxd : ∀ (i : ι'), v i ∈ 𝒜 (dv i)),
      Submodule.span ↥(𝒜 0)
          {x |
            ∃ a ai,
              ∃ (hai : ∑ i, ai i • dv i = a • d), HomogeneousLocalization.Away.mk 𝒜 hf a (∏ i, v i ^ ai i) ⋯ = x} =
        ⊤

Let 𝒜 be a graded ring, finitely generated (as an algebra) over 𝒜₀ by { vᵢ }, where vᵢ has degree dvᵢ. If f : A has degree d, then 𝒜_(f) is generated (as a module) over 𝒜₀ by elements of the form (∏ i, vᵢ ^ aᵢ) / fᵃ such that ∑ aᵢ • dvᵢ = a • d.

theorem HomogeneousLocalization.Away.adjoin_mk_prod_pow_eq_top E1 #

∀ {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] {𝒜 : ℕ → σ}
  [inst_3 : GradedRing 𝒜] {f : A} {d : ℕ} (hf : f ∈ 𝒜 d) (ι' : Type u_4) [inst_4 : Fintype ι'] (v : ι' → A),
  Algebra.adjoin (↥(𝒜 0)) (Set.range v) = ⊤ →
    ∀ (dv : ι' → ℕ) (hxd : ∀ (i : ι'), v i ∈ 𝒜 (dv i)),
      Algebra.adjoin ↥(𝒜 0)
          {x |
            ∃ a ai,
              ∃ (hai : ∑ i, ai i • dv i = a • d) (_ : ∀ (i : ι'), ai i ≤ d),
                HomogeneousLocalization.Away.mk 𝒜 hf a (∏ i, v i ^ ai i) ⋯ = x} =
        ⊤

Let 𝒜 be a graded ring, finitely generated (as an algebra) over 𝒜₀ by { vᵢ }, where vᵢ has degree dvᵢ. If f : A has degree d, then 𝒜_(f) is generated (as an algebra) over 𝒜₀ by elements of the form (∏ i, vᵢ ^ aᵢ) / fᵃ such that ∑ aᵢ • dvᵢ = a • d and ∀ i, aᵢ ≤ d.

theorem HomogeneousLocalization.Away.finiteType E1 #

∀ {A : Type u_2} {σ : Type u_3} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] {𝒜 : ℕ → σ}
  [inst_3 : GradedRing 𝒜] [Algebra.FiniteType (↥(𝒜 0)) A] (f : A) (d : ℕ),
  f ∈ 𝒜 d → Algebra.FiniteType (↥(𝒜 0)) (HomogeneousLocalization.Away 𝒜 f)