import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveChart.SectionCoordinates /-! # Canonical Chart Sections -/ namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.CanonicalChartSections noncomputable section /-! The affine-chart coefficient coordinates agree with the canonical homogeneous-localization sections of a projective basic open. -/ open _root_.CategoryTheory _root_.AlgebraicGeometry universe u theorem commRingIso_apply_of_inv_eq {B C : CommRingCat.{u}} (e : B β‰… C) (f : C ⟢ B) (h : e.inv = f) (z : C) : e.hom (f z) = z := by subst f exact ConcreteCategory.congr_hom e.inv_hom_id z variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] variable (π’œ : β„• β†’ Submodule R A) [GradedAlgebra π’œ] theorem projectiveAffineChartSectionsIso_inv {d : β„•} {s : A} (hs : s ∈ π’œ d) (hd : 0 < d) : (Affine.ChartCoefficientSections.affineChartSectionsIso (Proj.basicOpen π’œ s) (Proj.basicOpenIsoSpec π’œ s hs hd).symm).inv = Proj.awayToSection π’œ s := by have he : (Proj.basicOpenIsoSpec π’œ s hs hd).hom.appTop = (Scheme.Ξ“SpecIso (.of (HomogeneousLocalization.Away π’œ s))).hom ≫ Proj.awayToSection π’œ s ≫ (Proj.basicOpen π’œ s).topIso.inv := Proj.basicOpenToSpec_app_top π’œ s change (Scheme.Ξ“SpecIso (.of (HomogeneousLocalization.Away π’œ s))).inv ≫ (Proj.basicOpenIsoSpec π’œ s hs hd).hom.appTop ≫ (Proj.basicOpen π’œ s).topIso.hom = _ rw [he] simp only [Category.assoc, Iso.inv_hom_id_assoc, Iso.inv_hom_id, Category.comp_id] theorem projectiveAffineChartSectionsIso_awayToSection {d : β„•} {s : A} (hs : s ∈ π’œ d) (hd : 0 < d) (z : HomogeneousLocalization.Away π’œ s) : (Affine.ChartCoefficientSections.affineChartSectionsIso (Proj.basicOpen π’œ s) (Proj.basicOpenIsoSpec π’œ s hs hd).symm).hom (Proj.awayToSection π’œ s z) = z := by exact commRingIso_apply_of_inv_eq (Affine.ChartCoefficientSections.affineChartSectionsIso (Proj.basicOpen π’œ s) (Proj.basicOpenIsoSpec π’œ s hs hd).symm) (Proj.awayToSection π’œ s) (projectiveAffineChartSectionsIso_inv π’œ hs hd) z end end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.CanonicalChartSections