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 / V28. Algebraic geometry

Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Basic

64 declarations. Mathlib docs · Source

Basic properties of the scheme Proj A

The scheme Proj 𝒜 for a graded ring 𝒜 is constructed in Mathlib/AlgebraicGeometry/ProjectiveSpectrum/Scheme.lean. In this file we provide basic properties of the scheme.

Main results

  • AlgebraicGeometry.Proj.toSpecZero: The structure map Proj A ⟶ Spec (A 0).
  • AlgebraicGeometry.Proj.basicOpenIsoSpec: The canonical isomorphism Proj A |_ D₊(f) ≅ Spec (A_f)₀ when f is homogeneous of positive degree.
  • AlgebraicGeometry.Proj.awayι: The open immersion Spec (A_f)₀ ⟶ Proj A.
  • AlgebraicGeometry.Proj.affineOpenCover: The open cover of Proj A by Spec (A_f)₀ for all homogeneous f of positive degree.
  • AlgebraicGeometry.Proj.stalkIso: The stalk of Proj A at x is the degree 0 part of the localization of A at x.
  • AlgebraicGeometry.Proj.fromOfGlobalSections: Given a map f : A →+* Γ(X, ⊤) such that the image of the irrelevant ideal under f generates the whole ring, we can construct a map X ⟶ Proj 𝒜.

theorem AlgebraicGeometry.Proj.toBasicOpenOfGlobalSections.congr_simp E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {X : AlgebraicGeometry.Scheme} (f f_1 : A →+* ↑(X.presheaf.obj (Opposite.op ⊤)))
  (e_f : f = f_1) {x : ↑(X.presheaf.obj (Opposite.op ⊤))} {t : A} {d d_1 : ℕ} (e_d : d = d_1) (H : f t = x)
  (h0d : 0 < d) (hd : t ∈ 𝒜 d),
  AlgebraicGeometry.Proj.toBasicOpenOfGlobalSections 𝒜 f H h0d hd =
    AlgebraicGeometry.Proj.toBasicOpenOfGlobalSections 𝒜 f_1 ⋯ ⋯ ⋯

theorem AlgebraicGeometry.Proj.awayι.congr_simp E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] (f : A) {m m_1 : ℕ} (e_m : m = m_1) (f_deg : f ∈ 𝒜 m) (hm : 0 < m),
  AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm = AlgebraicGeometry.Proj.awayι 𝒜 f ⋯ ⋯

theorem AlgebraicGeometry.Proj.basicOpenIsoSpec.congr_simp E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] (f : A) {m m_1 : ℕ} (e_m : m = m_1) (f_deg : f ∈ 𝒜 m) (hm : 0 < m),
  AlgebraicGeometry.Proj.basicOpenIsoSpec 𝒜 f f_deg hm = AlgebraicGeometry.Proj.basicOpenIsoSpec 𝒜 f ⋯ ⋯

theorem AlgebraicGeometry.Proj.fromOfGlobalSections.congr_simp E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {X : AlgebraicGeometry.Scheme} (f f_1 : A →+* ↑(X.presheaf.obj (Opposite.op ⊤)))
  (e_f : f = f_1) (hf : Ideal.map f (HomogeneousIdeal.irrelevant 𝒜).toIdeal = ⊤),
  AlgebraicGeometry.Proj.fromOfGlobalSections 𝒜 f hf = AlgebraicGeometry.Proj.fromOfGlobalSections 𝒜 f_1 ⋯

theorem AlgebraicGeometry.Proj.pullbackAwayιIso.congr_simp E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {f : A} {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m) {m' : ℕ} {g : A} (g_deg : g ∈ 𝒜 m')
  (hm' : 0 < m') {x : A} (hx : x = f * g),
  AlgebraicGeometry.Proj.pullbackAwayιIso 𝒜 f_deg hm g_deg hm' hx =
    AlgebraicGeometry.Proj.pullbackAwayιIso 𝒜 f_deg hm g_deg hm' hx

def AlgebraicGeometry.Proj.basicOpen E1 #

{σ : Type u_1} →
  {A : Type u} →
    [inst : CommRing A] →
      [inst_1 : SetLike σ A] →
        [inst_2 : AddSubgroupClass σ A] → (𝒜 : ℕ → σ) → [inst_3 : GradedRing 𝒜] → A → (AlgebraicGeometry.Proj 𝒜).Opens

The basic open set D₊(f) associated to f : A.

theorem AlgebraicGeometry.Proj.mem_basicOpen E0 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] (f : A) (x : ↥(AlgebraicGeometry.Proj 𝒜)),
  x ∈ AlgebraicGeometry.Proj.basicOpen 𝒜 f ↔ f ∉ x.asHomogeneousIdeal

theorem AlgebraicGeometry.Proj.basicOpen_one E0 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜], AlgebraicGeometry.Proj.basicOpen 𝒜 1 = ⊤

theorem AlgebraicGeometry.Proj.basicOpen_zero E0 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜], AlgebraicGeometry.Proj.basicOpen 𝒜 0 = ⊥

theorem AlgebraicGeometry.Proj.basicOpen_pow E0 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] (f : A) (n : ℕ),
  0 < n → AlgebraicGeometry.Proj.basicOpen 𝒜 (f ^ n) = AlgebraicGeometry.Proj.basicOpen 𝒜 f

theorem AlgebraicGeometry.Proj.basicOpen_mul E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] (f g : A),
  AlgebraicGeometry.Proj.basicOpen 𝒜 (f * g) =
    AlgebraicGeometry.Proj.basicOpen 𝒜 f ⊓ AlgebraicGeometry.Proj.basicOpen 𝒜 g

theorem AlgebraicGeometry.Proj.basicOpen_mono E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] (f g : A), f ∣ g → AlgebraicGeometry.Proj.basicOpen 𝒜 g ≤ AlgebraicGeometry.Proj.basicOpen 𝒜 f

theorem AlgebraicGeometry.Proj.basicOpen_eq_iSup_proj E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] (f : A),
  AlgebraicGeometry.Proj.basicOpen 𝒜 f = ⨆ i, AlgebraicGeometry.Proj.basicOpen 𝒜 ((GradedRing.proj 𝒜 i) f)

theorem AlgebraicGeometry.Proj.isBasis_basicOpen E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜], TopologicalSpace.Opens.IsBasis (Set.range (AlgebraicGeometry.Proj.basicOpen 𝒜))

theorem AlgebraicGeometry.Proj.iSup_basicOpen_eq_top E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {ι : Type u_2} (f : ι → A),
  (HomogeneousIdeal.irrelevant 𝒜).toIdeal ≤ Ideal.span (Set.range f) → ⨆ i, AlgebraicGeometry.Proj.basicOpen 𝒜 (f i) = ⊤

If { xᵢ } spans the irrelevant ideal of A, then D₊(xᵢ) covers Proj A.

theorem AlgebraicGeometry.Proj.iSup_basicOpen_eq_top' E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {ι : Type u_2} (f : ι → A),
  (∀ (i : ι), ∃ n, f i ∈ 𝒜 n) →
    Algebra.adjoin (↥(𝒜 0)) (Set.range f) = ⊤ → ⨆ i, AlgebraicGeometry.Proj.basicOpen 𝒜 (f i) = ⊤

If { xᵢ } are homogeneous and span A as an A₀ algebra, then D₊(xᵢ) covers Proj A.

def AlgebraicGeometry.Proj.awayToSection E1 #

{σ : Type u_1} →
  {A : Type u} →
    [inst : CommRing A] →
      [inst_1 : SetLike σ A] →
        [inst_2 : AddSubgroupClass σ A] →
          (𝒜 : ℕ → σ) →
            [inst_3 : GradedRing 𝒜] →
              (f : A) →
                ↧(HomogeneousLocalization.Away 𝒜 f) ⟶
                  (AlgebraicGeometry.Proj 𝒜).presheaf.obj (Opposite.op (AlgebraicGeometry.Proj.basicOpen 𝒜 f))

The canonical map (A_f)₀ ⟶ Γ(Proj A, D₊(f)). This is an isomorphism when f is homogeneous of positive degree. See basicOpenIsoAway below.

def AlgebraicGeometry.Proj.basicOpenToSpec E1 #

{σ : Type u_1} →
  {A : Type u} →
    [inst : CommRing A] →
      [inst_1 : SetLike σ A] →
        [inst_2 : AddSubgroupClass σ A] →
          (𝒜 : ℕ → σ) →
            [inst_3 : GradedRing 𝒜] →
              (f : A) →
                ↑(AlgebraicGeometry.Proj.basicOpen 𝒜 f) ⟶ AlgebraicGeometry.Spec ↧(HomogeneousLocalization.Away 𝒜 f)

The canonical map Proj A |_ D₊(f) ⟶ Spec (A_f)₀. This is an isomorphism when f is homogeneous of positive degree. See basicOpenIsoSpec below.

theorem AlgebraicGeometry.Proj.basicOpenToSpec_app_top E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] (f : A),
  AlgebraicGeometry.Scheme.Hom.app (AlgebraicGeometry.Proj.basicOpenToSpec 𝒜 f) ⊤ =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.ΓSpecIso ↧(HomogeneousLocalization.Away 𝒜 f)).hom
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.awayToSection 𝒜 f)
        (AlgebraicGeometry.Proj.basicOpen 𝒜 f).topIso.inv)

def AlgebraicGeometry.Proj.toSpecZero E3 #

{σ : Type u_1} →
  {A : Type u} →
    [inst : CommRing A] →
      [inst_1 : SetLike σ A] →
        [inst_2 : AddSubgroupClass σ A] →
          (𝒜 : ℕ → σ) → [inst_3 : GradedRing 𝒜] → AlgebraicGeometry.Proj 𝒜 ⟶ AlgebraicGeometry.Spec ↧↥(𝒜 0)

The structure map Proj A ⟶ Spec A₀.

def AlgebraicGeometry.Proj.basicOpenIsoSpec E3 #

{σ : Type u_1} →
  {A : Type u} →
    [inst : CommRing A] →
      [inst_1 : SetLike σ A] →
        [inst_2 : AddSubgroupClass σ A] →
          (𝒜 : ℕ → σ) →
            [inst_3 : GradedRing 𝒜] →
              (f : A) →
                {m : ℕ} →
                  f ∈ 𝒜 m →
                    0 < m →
                      (↑(AlgebraicGeometry.Proj.basicOpen 𝒜 f) ≅
                        AlgebraicGeometry.Spec ↧(HomogeneousLocalization.Away 𝒜 f))

The canonical isomorphism Proj A |_ D₊(f) ≅ Spec (A_f)₀ when f is homogeneous of positive degree.

theorem AlgebraicGeometry.Proj.basicOpenIsoSpec_hom E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] (f : A) {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m),
  (AlgebraicGeometry.Proj.basicOpenIsoSpec 𝒜 f f_deg hm).hom = AlgebraicGeometry.Proj.basicOpenToSpec 𝒜 f

def AlgebraicGeometry.Proj.basicOpenIsoAway E1 #

{σ : Type u_1} →
  {A : Type u} →
    [inst : CommRing A] →
      [inst_1 : SetLike σ A] →
        [inst_2 : AddSubgroupClass σ A] →
          (𝒜 : ℕ → σ) →
            [inst_3 : GradedRing 𝒜] →
              (f : A) →
                {m : ℕ} →
                  f ∈ 𝒜 m →
                    0 < m →
                      (↧(HomogeneousLocalization.Away 𝒜 f) ≅
                        (AlgebraicGeometry.Proj 𝒜).presheaf.obj (Opposite.op (AlgebraicGeometry.Proj.basicOpen 𝒜 f)))

The canonical isomorphism (A_f)₀ ≅ Γ(Proj A, D₊(f)) when f is homogeneous of positive degree.

theorem AlgebraicGeometry.Proj.basicOpenIsoAway_hom E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] (f : A) {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m),
  (AlgebraicGeometry.Proj.basicOpenIsoAway 𝒜 f f_deg hm).hom = AlgebraicGeometry.Proj.awayToSection 𝒜 f

def AlgebraicGeometry.Proj.awayι E3 #

{σ : Type u_1} →
  {A : Type u} →
    [inst : CommRing A] →
      [inst_1 : SetLike σ A] →
        [inst_2 : AddSubgroupClass σ A] →
          (𝒜 : ℕ → σ) →
            [inst_3 : GradedRing 𝒜] →
              (f : A) →
                {m : ℕ} →
                  f ∈ 𝒜 m →
                    0 < m → (AlgebraicGeometry.Spec ↧(HomogeneousLocalization.Away 𝒜 f) ⟶ AlgebraicGeometry.Proj 𝒜)

The open immersion Spec (A_f)₀ ⟶ Proj A.

theorem AlgebraicGeometry.Proj.basicOpenIsoSpec_inv_ι_assoc E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] (f : A) {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m) {Z : AlgebraicGeometry.Scheme}
  (h : AlgebraicGeometry.Proj 𝒜 ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.basicOpenIsoSpec 𝒜 f f_deg hm).inv
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.basicOpen 𝒜 f).ι h) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm) h

theorem AlgebraicGeometry.Proj.basicOpenIsoSpec_inv_ι E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] (f : A) {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.basicOpenIsoSpec 𝒜 f f_deg hm).inv
      (AlgebraicGeometry.Proj.basicOpen 𝒜 f).ι =
    AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm

instance AlgebraicGeometry.Proj.instIsOpenImmersionAwayι E0 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] (f : A) {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m),
  AlgebraicGeometry.IsOpenImmersion (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm)

theorem AlgebraicGeometry.Proj.opensRange_awayι E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] (f : A) {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m),
  AlgebraicGeometry.Scheme.Hom.opensRange (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm) =
    AlgebraicGeometry.Proj.basicOpen 𝒜 f

theorem AlgebraicGeometry.Proj.isAffineOpen_basicOpen E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] (f : A) {m : ℕ},
  f ∈ 𝒜 m → 0 < m → AlgebraicGeometry.IsAffineOpen (AlgebraicGeometry.Proj.basicOpen 𝒜 f)

theorem AlgebraicGeometry.Proj.awayι_toSpecZero E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] (f : A) {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm) (AlgebraicGeometry.Proj.toSpecZero 𝒜) =
    AlgebraicGeometry.Spec.map (CommRingCat.ofHom (HomogeneousLocalization.fromZeroRingHom 𝒜 (Submonoid.powers f)))

theorem AlgebraicGeometry.Proj.awayι_toSpecZero_assoc E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] (f : A) {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m) {Z : AlgebraicGeometry.Scheme}
  (h : AlgebraicGeometry.Spec ↧↥(𝒜 0) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.toSpecZero 𝒜) h) =
    CategoryTheory.CategoryStruct.comp
      (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (HomogeneousLocalization.fromZeroRingHom 𝒜 (Submonoid.powers f))))
      h

theorem AlgebraicGeometry.Proj.awayMap_awayToSection_assoc E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {f : A} {m' : ℕ} {g : A} (g_deg : g ∈ 𝒜 m') {x : A} (hx : x = f * g) {Z : CommRingCat}
  (h : (AlgebraicGeometry.Proj 𝒜).presheaf.obj (Opposite.op (AlgebraicGeometry.Proj.basicOpen 𝒜 x)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CommRingCat.ofHom (HomogeneousLocalization.awayMap 𝒜 g_deg hx))
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.awayToSection 𝒜 x) h) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.awayToSection 𝒜 f)
      (CategoryTheory.CategoryStruct.comp ((AlgebraicGeometry.Proj 𝒜).presheaf.map (CategoryTheory.homOfLE ⋯).op) h)

theorem AlgebraicGeometry.Proj.awayMap_awayToSection E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {f : A} {m' : ℕ} {g : A} (g_deg : g ∈ 𝒜 m') {x : A} (hx : x = f * g),
  CategoryTheory.CategoryStruct.comp (CommRingCat.ofHom (HomogeneousLocalization.awayMap 𝒜 g_deg hx))
      (AlgebraicGeometry.Proj.awayToSection 𝒜 x) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.awayToSection 𝒜 f)
      ((AlgebraicGeometry.Proj 𝒜).presheaf.map (CategoryTheory.homOfLE ⋯).op)

theorem AlgebraicGeometry.Proj.basicOpenToSpec_SpecMap_awayMap E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {f : A} {m' : ℕ} {g : A} (g_deg : g ∈ 𝒜 m') {x : A} (hx : x = f * g),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.basicOpenToSpec 𝒜 x)
      (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (HomogeneousLocalization.awayMap 𝒜 g_deg hx))) =
    CategoryTheory.CategoryStruct.comp ((AlgebraicGeometry.Proj 𝒜).homOfLE ⋯)
      (AlgebraicGeometry.Proj.basicOpenToSpec 𝒜 f)

theorem AlgebraicGeometry.Proj.basicOpenToSpec_SpecMap_awayMap_assoc E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {f : A} {m' : ℕ} {g : A} (g_deg : g ∈ 𝒜 m') {x : A} (hx : x = f * g)
  {Z : AlgebraicGeometry.Scheme} (h : AlgebraicGeometry.Spec ↧(HomogeneousLocalization.Away 𝒜 f) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.basicOpenToSpec 𝒜 x)
      (CategoryTheory.CategoryStruct.comp
        (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (HomogeneousLocalization.awayMap 𝒜 g_deg hx))) h) =
    CategoryTheory.CategoryStruct.comp ((AlgebraicGeometry.Proj 𝒜).homOfLE ⋯)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.basicOpenToSpec 𝒜 f) h)

theorem AlgebraicGeometry.Proj.SpecMap_awayMap_awayι_assoc E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {f : A} {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m) {m' : ℕ} {g : A} (g_deg : g ∈ 𝒜 m') {x : A}
  (hx : x = f * g) {Z : AlgebraicGeometry.Scheme} (h : AlgebraicGeometry.Proj 𝒜 ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (HomogeneousLocalization.awayMap 𝒜 g_deg hx)))
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm) h) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.awayι 𝒜 x ⋯ ⋯) h

theorem AlgebraicGeometry.Proj.SpecMap_awayMap_awayι E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {f : A} {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m) {m' : ℕ} {g : A} (g_deg : g ∈ 𝒜 m') {x : A}
  (hx : x = f * g),
  CategoryTheory.CategoryStruct.comp
      (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (HomogeneousLocalization.awayMap 𝒜 g_deg hx)))
      (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm) =
    AlgebraicGeometry.Proj.awayι 𝒜 x ⋯ ⋯

def AlgebraicGeometry.Proj.pullbackAwayιIso E1 #

{σ : Type u_1} →
  {A : Type u} →
    [inst : CommRing A] →
      [inst_1 : SetLike σ A] →
        [inst_2 : AddSubgroupClass σ A] →
          (𝒜 : ℕ → σ) →
            [inst_3 : GradedRing 𝒜] →
              {f : A} →
                {m : ℕ} →
                  (f_deg : f ∈ 𝒜 m) →
                    (hm : 0 < m) →
                      {m' : ℕ} →
                        {g : A} →
                          (g_deg : g ∈ 𝒜 m') →
                            (hm' : 0 < m') →
                              {x : A} →
                                x = f * g →
                                  (CategoryTheory.Limits.pullback (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm)
                                      (AlgebraicGeometry.Proj.awayι 𝒜 g g_deg hm') ≅
                                    AlgebraicGeometry.Spec ↧(HomogeneousLocalization.Away 𝒜 x))

The isomorphism D₊(f) ×[Proj 𝒜] D₊(g) ≅ D₊(fg).

theorem AlgebraicGeometry.Proj.pullbackAwayιIso_hom_awayι E0 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {f : A} {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m) {m' : ℕ} {g : A} (g_deg : g ∈ 𝒜 m')
  (hm' : 0 < m') {x : A} (hx : x = f * g),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.pullbackAwayιIso 𝒜 f_deg hm g_deg hm' hx).hom
      (AlgebraicGeometry.Proj.awayι 𝒜 x ⋯ ⋯) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.fst (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm)
        (AlgebraicGeometry.Proj.awayι 𝒜 g g_deg hm'))
      (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm)

theorem AlgebraicGeometry.Proj.pullbackAwayιIso_hom_awayι_assoc E0 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {f : A} {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m) {m' : ℕ} {g : A} (g_deg : g ∈ 𝒜 m')
  (hm' : 0 < m') {x : A} (hx : x = f * g) {Z : AlgebraicGeometry.Scheme} (h : AlgebraicGeometry.Proj 𝒜 ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.pullbackAwayιIso 𝒜 f_deg hm g_deg hm' hx).hom
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.awayι 𝒜 x ⋯ ⋯) h) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.fst (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm)
        (AlgebraicGeometry.Proj.awayι 𝒜 g g_deg hm'))
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm) h)

theorem AlgebraicGeometry.Proj.pullbackAwayιIso_hom_SpecMap_awayMap_left E0 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {f : A} {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m) {m' : ℕ} {g : A} (g_deg : g ∈ 𝒜 m')
  (hm' : 0 < m') {x : A} (hx : x = f * g),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.pullbackAwayιIso 𝒜 f_deg hm g_deg hm' hx).hom
      (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (HomogeneousLocalization.awayMap 𝒜 g_deg hx))) =
    CategoryTheory.Limits.pullback.fst (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm)
      (AlgebraicGeometry.Proj.awayι 𝒜 g g_deg hm')

theorem AlgebraicGeometry.Proj.pullbackAwayιIso_hom_SpecMap_awayMap_left_assoc E0 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {f : A} {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m) {m' : ℕ} {g : A} (g_deg : g ∈ 𝒜 m')
  (hm' : 0 < m') {x : A} (hx : x = f * g) {Z : AlgebraicGeometry.Scheme}
  (h : AlgebraicGeometry.Spec ↧(HomogeneousLocalization.Away 𝒜 f) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.pullbackAwayιIso 𝒜 f_deg hm g_deg hm' hx).hom
      (CategoryTheory.CategoryStruct.comp
        (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (HomogeneousLocalization.awayMap 𝒜 g_deg hx))) h) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.fst (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm)
        (AlgebraicGeometry.Proj.awayι 𝒜 g g_deg hm'))
      h

theorem AlgebraicGeometry.Proj.pullbackAwayιIso_hom_SpecMap_awayMap_right_assoc E0 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {f : A} {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m) {m' : ℕ} {g : A} (g_deg : g ∈ 𝒜 m')
  (hm' : 0 < m') {x : A} (hx : x = f * g) {Z : AlgebraicGeometry.Scheme}
  (h : AlgebraicGeometry.Spec ↧(HomogeneousLocalization.Away 𝒜 g) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.pullbackAwayιIso 𝒜 f_deg hm g_deg hm' hx).hom
      (CategoryTheory.CategoryStruct.comp
        (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (HomogeneousLocalization.awayMap 𝒜 f_deg ⋯))) h) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.snd (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm)
        (AlgebraicGeometry.Proj.awayι 𝒜 g g_deg hm'))
      h

theorem AlgebraicGeometry.Proj.pullbackAwayιIso_hom_SpecMap_awayMap_right E0 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {f : A} {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m) {m' : ℕ} {g : A} (g_deg : g ∈ 𝒜 m')
  (hm' : 0 < m') {x : A} (hx : x = f * g),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.pullbackAwayιIso 𝒜 f_deg hm g_deg hm' hx).hom
      (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (HomogeneousLocalization.awayMap 𝒜 f_deg ⋯))) =
    CategoryTheory.Limits.pullback.snd (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm)
      (AlgebraicGeometry.Proj.awayι 𝒜 g g_deg hm')

theorem AlgebraicGeometry.Proj.pullbackAwayιIso_inv_fst E0 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {f : A} {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m) {m' : ℕ} {g : A} (g_deg : g ∈ 𝒜 m')
  (hm' : 0 < m') {x : A} (hx : x = f * g),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.pullbackAwayιIso 𝒜 f_deg hm g_deg hm' hx).inv
      (CategoryTheory.Limits.pullback.fst (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm)
        (AlgebraicGeometry.Proj.awayι 𝒜 g g_deg hm')) =
    AlgebraicGeometry.Spec.map (CommRingCat.ofHom (HomogeneousLocalization.awayMap 𝒜 g_deg hx))

theorem AlgebraicGeometry.Proj.pullbackAwayιIso_inv_fst_assoc E0 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {f : A} {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m) {m' : ℕ} {g : A} (g_deg : g ∈ 𝒜 m')
  (hm' : 0 < m') {x : A} (hx : x = f * g) {Z : AlgebraicGeometry.Scheme}
  (h : AlgebraicGeometry.Spec ↧(HomogeneousLocalization.Away 𝒜 f) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.pullbackAwayιIso 𝒜 f_deg hm g_deg hm' hx).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.pullback.fst (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm)
          (AlgebraicGeometry.Proj.awayι 𝒜 g g_deg hm'))
        h) =
    CategoryTheory.CategoryStruct.comp
      (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (HomogeneousLocalization.awayMap 𝒜 g_deg hx))) h

theorem AlgebraicGeometry.Proj.pullbackAwayιIso_inv_snd_assoc E0 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {f : A} {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m) {m' : ℕ} {g : A} (g_deg : g ∈ 𝒜 m')
  (hm' : 0 < m') {x : A} (hx : x = f * g) {Z : AlgebraicGeometry.Scheme}
  (h : AlgebraicGeometry.Spec ↧(HomogeneousLocalization.Away 𝒜 g) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.pullbackAwayιIso 𝒜 f_deg hm g_deg hm' hx).inv
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.pullback.snd (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm)
          (AlgebraicGeometry.Proj.awayι 𝒜 g g_deg hm'))
        h) =
    CategoryTheory.CategoryStruct.comp
      (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (HomogeneousLocalization.awayMap 𝒜 f_deg ⋯))) h

theorem AlgebraicGeometry.Proj.pullbackAwayιIso_inv_snd E0 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {f : A} {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m) {m' : ℕ} {g : A} (g_deg : g ∈ 𝒜 m')
  (hm' : 0 < m') {x : A} (hx : x = f * g),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.pullbackAwayιIso 𝒜 f_deg hm g_deg hm' hx).inv
      (CategoryTheory.Limits.pullback.snd (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm)
        (AlgebraicGeometry.Proj.awayι 𝒜 g g_deg hm')) =
    AlgebraicGeometry.Spec.map (CommRingCat.ofHom (HomogeneousLocalization.awayMap 𝒜 f_deg ⋯))

theorem AlgebraicGeometry.Proj.awayι_preimage_basicOpen E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {f : A} {m : ℕ} (f_deg : f ∈ 𝒜 m) (hm : 0 < m) {m' : ℕ} {g : A} (g_deg : g ∈ 𝒜 m'),
  0 < m' →
    (TopologicalSpace.Opens.map (AlgebraicGeometry.Proj.awayι 𝒜 f f_deg hm).base).obj
        (AlgebraicGeometry.Proj.basicOpen 𝒜 g) =
      PrimeSpectrum.basicOpen (HomogeneousLocalization.Away.isLocalizationElem f_deg g_deg)

def AlgebraicGeometry.Proj.affineOpenCoverOfIrrelevantLESpan E1 #

{σ : Type u_1} →
  {A : Type u} →
    [inst : CommRing A] →
      [inst_1 : SetLike σ A] →
        [inst_2 : AddSubgroupClass σ A] →
          (𝒜 : ℕ → σ) →
            [inst_3 : GradedRing 𝒜] →
              {ι : Type u_2} →
                (f : ι → A) →
                  {m : ι → ℕ} →
                    (∀ (i : ι), f i ∈ 𝒜 (m i)) →
                      (∀ (i : ι), 0 < m i) →
                        (HomogeneousIdeal.irrelevant 𝒜).toIdeal ≤ Ideal.span (Set.range f) →
                          (AlgebraicGeometry.Proj 𝒜).AffineOpenCover

Given a family of homogeneous elements f of positive degree that spans the irrelevant ideal, Spec (A_f)₀ ⟶ Proj A forms an affine open cover of Proj A.

def AlgebraicGeometry.Proj.affineOpenCover E3 #

{σ : Type u_1} →
  {A : Type u} →
    [inst : CommRing A] →
      [inst_1 : SetLike σ A] →
        [inst_2 : AddSubgroupClass σ A] →
          (𝒜 : ℕ → σ) → [inst_3 : GradedRing 𝒜] → (AlgebraicGeometry.Proj 𝒜).AffineOpenCover

Proj A is covered by Spec (A_f)₀ for all homogeneous elements of positive degree.

theorem AlgebraicGeometry.Proj.affineOpenCover_f E0 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] (i : (i : ℕ+) × ↥(𝒜 ↑i)),
  (AlgebraicGeometry.Proj.affineOpenCover 𝒜).f i = AlgebraicGeometry.Proj.awayι 𝒜 ↑i.snd ⋯ ⋯

def AlgebraicGeometry.Proj.stalkIso E3 #

{σ : Type u_1} →
  {A : Type u} →
    [inst : CommRing A] →
      [inst_1 : SetLike σ A] →
        [inst_2 : AddSubgroupClass σ A] →
          (𝒜 : ℕ → σ) →
            [inst_3 : GradedRing 𝒜] →
              (x : ↥(AlgebraicGeometry.Proj 𝒜)) →
                (AlgebraicGeometry.Proj 𝒜).presheaf.stalk x ≅
                  ↧(HomogeneousLocalization.AtPrime 𝒜 x.asHomogeneousIdeal.toIdeal)

The stalk of Proj A at x is the degree 0 part of the localization of A at x.

def AlgebraicGeometry.Proj.toBasicOpenOfGlobalSections E1 #

{σ : Type u_1} →
  {A : Type u} →
    [inst : CommRing A] →
      [inst_1 : SetLike σ A] →
        [inst_2 : AddSubgroupClass σ A] →
          (𝒜 : ℕ → σ) →
            [inst_3 : GradedRing 𝒜] →
              {X : AlgebraicGeometry.Scheme} →
                (f : A →+* ↑(X.presheaf.obj (Opposite.op ⊤))) →
                  {x : ↑(X.presheaf.obj (Opposite.op ⊤))} →
                    {t : A} →
                      {d : ℕ} → f t = x → 0 < d → t ∈ 𝒜 d → (↑(X.basicOpen x) ⟶ ↑(AlgebraicGeometry.Proj.basicOpen 𝒜 t))

Given a graded ring A and a map f : A →+* Γ(X, ⊤), for each homogeneous t of positive degree, it induces a map from D(f(t)) ⟶ D₊(t).

theorem AlgebraicGeometry.Proj.homOfLE_toBasicOpenOfGlobalSections_ι_assoc E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {X : AlgebraicGeometry.Scheme} (f : A →+* ↑(X.presheaf.obj (Opposite.op ⊤)))
  {x x' : ↑(X.presheaf.obj (Opposite.op ⊤))} {t t' : A} {d d' : ℕ} {H : f t = x} {h0d : 0 < d} {hd : t ∈ 𝒜 d}
  {H' : f t' = x'} {h0d' : 0 < d'} {hd' : t' ∈ 𝒜 d'} {s : A} (hts : t * s = t') {n : ℕ} (hn : d + n = d'),
  s ∈ 𝒜 n →
    ∀ {Z : AlgebraicGeometry.Scheme} (h : AlgebraicGeometry.Proj 𝒜 ⟶ Z),
      CategoryTheory.CategoryStruct.comp (X.homOfLE ⋯)
          (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.toBasicOpenOfGlobalSections 𝒜 f H h0d hd)
            (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.basicOpen 𝒜 t).ι h)) =
        CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.toBasicOpenOfGlobalSections 𝒜 f H' h0d' hd')
          (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.basicOpen 𝒜 t').ι h)

theorem AlgebraicGeometry.Proj.homOfLE_toBasicOpenOfGlobalSections_ι E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {X : AlgebraicGeometry.Scheme} (f : A →+* ↑(X.presheaf.obj (Opposite.op ⊤)))
  {x x' : ↑(X.presheaf.obj (Opposite.op ⊤))} {t t' : A} {d d' : ℕ} {H : f t = x} {h0d : 0 < d} {hd : t ∈ 𝒜 d}
  {H' : f t' = x'} {h0d' : 0 < d'} {hd' : t' ∈ 𝒜 d'} {s : A} (hts : t * s = t') {n : ℕ} (hn : d + n = d'),
  s ∈ 𝒜 n →
    CategoryTheory.CategoryStruct.comp (X.homOfLE ⋯)
        (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.toBasicOpenOfGlobalSections 𝒜 f H h0d hd)
          (AlgebraicGeometry.Proj.basicOpen 𝒜 t).ι) =
      CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.toBasicOpenOfGlobalSections 𝒜 f H' h0d' hd')
        (AlgebraicGeometry.Proj.basicOpen 𝒜 t').ι

def AlgebraicGeometry.Proj.openCoverOfMapIrrelevantEqTop E1 #

{σ : Type u_1} →
  {A : Type u} →
    [inst : CommRing A] →
      [inst_1 : SetLike σ A] →
        [inst_2 : AddSubgroupClass σ A] →
          (𝒜 : ℕ → σ) →
            [inst_3 : GradedRing 𝒜] →
              {X : AlgebraicGeometry.Scheme} →
                (f : A →+* ↑(X.presheaf.obj (Opposite.op ⊤))) →
                  Ideal.map f (HomogeneousIdeal.irrelevant 𝒜).toIdeal = ⊤ → X.OpenCover

Given a graded ring A and a map f : A →+* Γ(X, ⊤) such that the image of the irrelevant ideal under f generates the whole ring, the set of D(f(r)) for homogeneous r of positive degree forms an open cover on X.

def AlgebraicGeometry.Proj.fromOfGlobalSections E3 #

{σ : Type u_1} →
  {A : Type u} →
    [inst : CommRing A] →
      [inst_1 : SetLike σ A] →
        [inst_2 : AddSubgroupClass σ A] →
          (𝒜 : ℕ → σ) →
            [inst_3 : GradedRing 𝒜] →
              {X : AlgebraicGeometry.Scheme} →
                (f : A →+* ↑(X.presheaf.obj (Opposite.op ⊤))) →
                  Ideal.map f (HomogeneousIdeal.irrelevant 𝒜).toIdeal = ⊤ → (X ⟶ AlgebraicGeometry.Proj 𝒜)

Given a graded ring A and a map f : A →+* Γ(X, ⊤) such that the image of the irrelevant ideal under f generates the whole ring, we can construct a map X ⟶ Proj 𝒜.

theorem AlgebraicGeometry.Proj.fromOfGlobalSections_preimage_basicOpen E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {X : AlgebraicGeometry.Scheme} (f : A →+* ↑(X.presheaf.obj (Opposite.op ⊤)))
  (hf : Ideal.map f (HomogeneousIdeal.irrelevant 𝒜).toIdeal = ⊤) {r : A} {n : ℕ},
  0 < n →
    r ∈ 𝒜 n →
      (TopologicalSpace.Opens.map (AlgebraicGeometry.Proj.fromOfGlobalSections 𝒜 f hf).base).obj
          (AlgebraicGeometry.Proj.basicOpen 𝒜 r) =
        X.basicOpen (f r)

theorem AlgebraicGeometry.Proj.fromOfGlobalSections_morphismRestrict E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {X : AlgebraicGeometry.Scheme} (f : A →+* ↑(X.presheaf.obj (Opposite.op ⊤)))
  (hf : Ideal.map f (HomogeneousIdeal.irrelevant 𝒜).toIdeal = ⊤) {r : A} {n : ℕ} (hn : 0 < n) (hr : r ∈ 𝒜 n),
  AlgebraicGeometry.Proj.fromOfGlobalSections 𝒜 f hf ∣_ AlgebraicGeometry.Proj.basicOpen 𝒜 r =
    CategoryTheory.CategoryStruct.comp (X.isoOfEq ⋯).hom
      (AlgebraicGeometry.Proj.toBasicOpenOfGlobalSections 𝒜 f ⋯ hn hr)

theorem AlgebraicGeometry.Proj.fromOfGlobalSections_resLE E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {X : AlgebraicGeometry.Scheme} (f : A →+* ↑(X.presheaf.obj (Opposite.op ⊤)))
  (hf : Ideal.map f (HomogeneousIdeal.irrelevant 𝒜).toIdeal = ⊤) {r : A} {n : ℕ} (hn : 0 < n) (hr : r ∈ 𝒜 n),
  AlgebraicGeometry.Scheme.Hom.resLE (AlgebraicGeometry.Proj.fromOfGlobalSections 𝒜 f hf)
      (AlgebraicGeometry.Proj.basicOpen 𝒜 r) (X.basicOpen (f r)) ⋯ =
    AlgebraicGeometry.Proj.toBasicOpenOfGlobalSections 𝒜 f ⋯ hn hr

theorem AlgebraicGeometry.Proj.fromOfGlobalSections_toSpecZero_assoc E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {X : AlgebraicGeometry.Scheme} (f : A →+* ↑(X.presheaf.obj (Opposite.op ⊤)))
  (hf : Ideal.map f (HomogeneousIdeal.irrelevant 𝒜).toIdeal = ⊤) {Z : AlgebraicGeometry.Scheme}
  (h : AlgebraicGeometry.Spec ↧↥(𝒜 0) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.fromOfGlobalSections 𝒜 f hf)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.toSpecZero 𝒜) h) =
    CategoryTheory.CategoryStruct.comp X.toSpecΓ
      (CategoryTheory.CategoryStruct.comp
        (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (f.comp (algebraMap (↥(𝒜 0)) A)))) h)

theorem AlgebraicGeometry.Proj.fromOfGlobalSections_toSpecZero E1 #

∀ {σ : Type u_1} {A : Type u} [inst : CommRing A] [inst_1 : SetLike σ A] [inst_2 : AddSubgroupClass σ A] (𝒜 : ℕ → σ)
  [inst_3 : GradedRing 𝒜] {X : AlgebraicGeometry.Scheme} (f : A →+* ↑(X.presheaf.obj (Opposite.op ⊤)))
  (hf : Ideal.map f (HomogeneousIdeal.irrelevant 𝒜).toIdeal = ⊤),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Proj.fromOfGlobalSections 𝒜 f hf)
      (AlgebraicGeometry.Proj.toSpecZero 𝒜) =
    CategoryTheory.CategoryStruct.comp X.toSpecΓ
      (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (f.comp (algebraMap (↥(𝒜 0)) A))))