Download data/lean/OAI/ArithmeticGeometry/OrdinaryLocus/Openness/BaseOpenSections.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.81 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/ArithmeticGeometry/OrdinaryLocus/Openness/BaseOpenSections.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/ArithmeticGeometry/OrdinaryLocus/Openness/BaseOpenSections.lean
-
curl -L -o BaseOpenSections.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/ArithmeticGeometry/OrdinaryLocus/Openness/BaseOpenSections.lean
4.81 kB
| import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.TensorSectionRestriction | |
| import OAI.AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections | |
| /-! # Base Open Sections -/ | |
| namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.BaseOpenSections.Construction | |
| noncomputable section | |
| /-! Actual sections on an open subset, with scalars from the global sections of the base. -/ | |
| open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory | |
| open OAI.AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections | |
| universe u | |
| def baseOpenScalarMap {X S : Scheme.{u}} (Ļ : X ā¶ S) (U : X.Opens) : | |
| Ī(S, ā¤) ā+* Ī(X, U) := | |
| (Ļ.appLE ⤠U (by simp)).hom | |
| theorem baseOpenScalarMap_eq {X S : Scheme.{u}} (Ļ : X ā¶ S) (U : X.Opens) : | |
| baseOpenScalarMap Ļ U = | |
| (X.presheaf.map (homOfLE le_top : U ā¶ ā¤).op).hom.comp Ļ.appTop.hom := rfl | |
| @[instance_reducible] | |
| def baseOpenSectionsAlgebra {X S : Scheme.{u}} (Ļ : X ā¶ S) (U : X.Opens) : | |
| Algebra Ī(S, ā¤) Ī(X, U) := (baseOpenScalarMap Ļ U).toAlgebra | |
| @[instance_reducible] | |
| def baseOpenSectionsModule {X S : Scheme.{u}} (Ļ : X ā¶ S) (M : X.Modules) (U : X.Opens) : | |
| Module Ī(S, ā¤) Ī(M, U) := Module.compHom Ī(M, U) (baseOpenScalarMap Ļ U) | |
| def baseOpenSectionsFunctor {X S : Scheme.{u}} (Ļ : X ā¶ S) (U : X.Opens) : | |
| X.Modules ℤ ModuleCat.{u} Ī(S, ā¤) where | |
| obj M := letI := baseOpenSectionsModule Ļ M U; ModuleCat.of Ī(S, ā¤) Ī(M, U) | |
| map {M N} q := by | |
| letI := baseOpenSectionsModule Ļ M U | |
| letI := baseOpenSectionsModule Ļ N U | |
| exact ModuleCat.ofHom | |
| { (q.val.app (.op U)).hom.toAddMonoidHom with | |
| map_smul' := fun r x => (q.val.app (.op U)).hom.map_smul (baseOpenScalarMap Ļ U r) x } | |
| map_id _ := by ext; rfl | |
| map_comp _ _ := by ext; rfl | |
| def baseOpenSectionsRestriction {X S : Scheme.{u}} (Ļ : X ā¶ S) (M : X.Modules) (U : X.Opens) : | |
| (AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor Ļ).obj M āā[Ī(S, ā¤)] (baseOpenSectionsFunctor Ļ U).obj M where | |
| toFun := M.presheaf.map (homOfLE (le_top : U ⤠ā¤)).op | |
| map_add' := (M.presheaf.map (homOfLE (le_top : U ⤠ā¤)).op).hom.map_add | |
| map_smul' r x := (M.val.map (homOfLE (le_top : U ⤠ā¤)).op).hom.map_smul (Ļ.appTop r) x | |
| theorem baseOpenScalarMap_pullback {X Y S : Scheme.{u}} | |
| (f : X ā¶ Y) (Ļ : Y ā¶ S) (U : Y.Opens) : | |
| (f.app U).hom.comp (baseOpenScalarMap Ļ U) = | |
| baseOpenScalarMap (f ā« Ļ) (f ā»Ā¹įµ U) := by | |
| have h := Scheme.Hom.appLE_comp_appLE f Ļ ā¤ U (f ā»Ā¹įµ U) (by simp) le_rfl | |
| rw [Scheme.Hom.appLE_eq_app] at h | |
| exact congrArg CommRingCat.Hom.hom h | |
| def baseOpenSectionsPullbackAlgHom {X Y S : Scheme.{u}} | |
| (f : X ā¶ Y) (Ļ : Y ā¶ S) (U : Y.Opens) : | |
| letI := baseOpenSectionsAlgebra Ļ U | |
| letI := baseOpenSectionsAlgebra (f ā« Ļ) (f ā»Ā¹įµ U) | |
| Ī(Y, U) āā[Ī(S, ā¤)] Ī(X, f ā»Ā¹įµ U) := | |
| letI := baseOpenSectionsAlgebra Ļ U | |
| letI := baseOpenSectionsAlgebra (f ā« Ļ) (f ā»Ā¹įµ U) | |
| { (f.app U).hom with | |
| commutes' r := RingHom.congr_fun (baseOpenScalarMap_pullback f Ļ U) r } | |
| local instance baseOpenSectionTensor (X : Scheme.{u}) : | |
| MonoidalCategory X.Modules := AlgebraicGeometry.SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory X | |
| def tensorSectionGlobalCoefficientLinear {X S : Scheme.{u}} (Ļ : X ā¶ S) | |
| (M : X.Modules) {P : X.Modules} (a : š_ X.Modules ā¶ P) (U : X.Opens) | |
| [IsIso ((Scheme.Modules.pullback U.ι).map a)] : | |
| (AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor Ļ).obj (M ā P) āā[Ī(S, ā¤)] | |
| (baseOpenSectionsFunctor Ļ U).obj M := by | |
| letI := baseOpenSectionsModule Ļ M U | |
| letI := baseOpenSectionsModule Ļ (M ā P) U | |
| let e : (baseOpenSectionsFunctor Ļ U).obj (M ā P) āā[Ī(S, ā¤)] | |
| (baseOpenSectionsFunctor Ļ U).obj M := | |
| { (TensorSectionFrame.Construction.tensorSectionFrameAppEquiv M a U).symm.toAddEquiv with | |
| map_smul' := fun r x => (TensorSectionFrame.Construction.tensorSectionFrameAppEquiv M a U).symm.map_smul | |
| (baseOpenScalarMap Ļ U r) x } | |
| exact e.toLinearMap.comp (baseOpenSectionsRestriction Ļ (M ā P) U) | |
| theorem tensorSectionGlobalCoefficientLinear_apply {X S : Scheme.{u}} (Ļ : X ā¶ S) | |
| (M : X.Modules) {P : X.Modules} (a : š_ X.Modules ā¶ P) (U : X.Opens) | |
| [IsIso ((Scheme.Modules.pullback U.ι).map a)] | |
| (x : (AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor Ļ).obj (M ā P)) : | |
| tensorSectionGlobalCoefficientLinear Ļ M a U x = TensorSectionRestriction.Construction.tensorSectionGlobalCoefficient M a U x := rfl | |
| end | |
| end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.BaseOpenSections.Construction | |