import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FrameCoordinatePullback import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCoordinatesApp /-! # Projective Coordinate Ratios -/ namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ProjectiveCoordinateRatios.Construction noncomputable section /-! The ratios of the projective coordinate sections are the usual affine coordinates. -/ open _root_.CategoryTheory _root_.AlgebraicGeometry universe u theorem sectionAppCoordinate_of_overFrame {X : Scheme.{u}} {M : X.Modules} (s t : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X โŸถ M) (U : X.Opens) (hU : U โ‰ค AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) (e : M.over U โ‰… SheafOfModules.unit (X.ringCatSheaf.over U)) (r : ฮ“(X, U)) (hs : e.hom.val.app (.op (Over.mk (๐Ÿ™ U))) (s.app U (1 : ฮ“(X, U))) = (1 : ฮ“(X, U))) (ht : e.hom.val.app (.op (Over.mk (๐Ÿ™ U))) (t.app U (1 : ฮ“(X, U))) = r) : FrameCoordinatePullback.Construction.sectionAppCoordinate s t hU = r := by apply (SectionFrameApps.Construction.sectionAppLinearEquiv s hU).injective let eU := (SheafOfModules.evaluation (X.ringCatSheaf.over U) (.op (Over.mk (๐Ÿ™ U)))).mapIso e apply eU.toLinearEquiv.injective have hโ‚ : s.app U (FrameCoordinatePullback.Construction.sectionAppCoordinate s t hU) = t.app U (1 : ฮ“(X, U)) := (SectionFrameApps.Construction.sectionAppLinearEquiv s hU).apply_symm_apply _ have hโ‚‚ : s.app U r = r โ€ข s.app U (1 : ฮ“(X, U)) := by have hh := s.app_smul r (1 : ฮ“(X, U)) change s.app U (show ฮ“(X, U) from r * 1) = r โ€ข s.app U (1 : ฮ“(X, U)) at hh exact (congrArg (fun z : ฮ“(X, U) => s.app U z) (mul_one r)).symm.trans hh change e.hom.val.app (.op (Over.mk (๐Ÿ™ U))) (s.app U (FrameCoordinatePullback.Construction.sectionAppCoordinate s t hU)) = e.hom.val.app (.op (Over.mk (๐Ÿ™ U))) (s.app U r) rw [hโ‚, hโ‚‚, ht] exact ((e.hom.val.app (.op (Over.mk (๐Ÿ™ U)))).hom.map_smul r _).trans ((congrArg (fun z : ฮ“(X, U) => r * z) hs).trans (mul_one r)) |>.symm variable {R : Type u} [CommRing R] {ฯƒ : Type} attribute [local instance] MvPolynomial.gradedAlgebra theorem projective_sectionAppCoordinate (i j k : ฯƒ) : FrameCoordinatePullback.Construction.sectionAppCoordinate (AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.sectionHom (R := R) j i) (AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.sectionHom (R := R) j k) (le_of_eq (AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.sectionHom_nonvanishing (R := R) j i).symm) = AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation (R := R) i k := by apply sectionAppCoordinate_of_overFrame _ _ _ _ (AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.frame i j) ยท rw [AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.sectionHom_app] exact (AlgebraicGeometry.SheafCohomology.Projective.FrameSections.overTrivializationSection_coefficient _ _ _ _).trans (AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation_self (R := R) i) ยท rw [AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.sectionHom_app] exact AlgebraicGeometry.SheafCohomology.Projective.FrameSections.overTrivializationSection_coefficient _ _ _ _ theorem projective_local_frameCoordinate (i j k : ฯƒ) : let U := AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i let s := AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.sectionHom (R := R) j i let t := AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.sectionHom (R := R) j k letI := AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.PowerLocus.pullbackSection_isIso_of_le (le_of_eq (AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.sectionHom_nonvanishing (R := R) j i).symm) s AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.Coordinates.frameCoordinate (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.ฮน s) (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.ฮน t) = U.topIso.inv (AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation (R := R) i k) := by let U := AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i let s := AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.sectionHom (R := R) j i let t := AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.sectionHom (R := R) j k have hU : U โ‰ค AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s := (AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.sectionHom_nonvanishing (R := R) j i).symm.le have : IsIso (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.ฮน s) := AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.PowerLocus.pullbackSection_isIso_of_le hU s apply (ConcreteCategory.bijective_of_isIso U.topIso.hom).injective exact (FrameCoordinatePullback.Construction.sectionAppCoordinate_eq_frameCoordinate s t hU).symm.trans ((projective_sectionAppCoordinate i j k).trans (ConcreteCategory.congr_hom U.topIso.inv_hom_id _).symm) end end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ProjectiveCoordinateRatios.Construction