Download data/lean/OAI/NumberTheory/PiExponent/Approximation/ClosedPushforwardLinear.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 6.15 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/PiExponent/Approximation/ClosedPushforwardLinear.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/NumberTheory/PiExponent/Approximation/ClosedPushforwardLinear.lean
-
curl -L -o ClosedPushforwardLinear.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/PiExponent/Approximation/ClosedPushforwardLinear.lean
6.15 kB
| import OAI.NumberTheory.PiExponent.Approximation.ClosedImmersionSerreTransfer | |
| import OAI.NumberTheory.PiExponent.Cohomology.EulerExact | |
| namespace OAI | |
| namespace PiExponent.ClosedImmersionSerreTransfer | |
| noncomputable section | |
| open AlgebraicGeometry CategoryTheory CategoryTheory.Limits CategoryTheory.Abelian | |
| open TopologicalSpace Opposite PiExponentSeshadri.Geometry | |
| variable {X Y : Scheme.{0}} (f : X βΆ Y) | |
| local instance closedPushforwardLinearSourceHasExt : HasExt.{1} X.Modules := schemeHasExt | |
| local instance closedPushforwardLinearTargetHasExt : HasExt.{1} Y.Modules := schemeHasExt | |
| lemma baseScalars_comp_actual (p : Y βΆ Spec (CommRingCat.of β)) : | |
| baseScalars (f β« p) = f.appTop.hom.comp (baseScalars p) := by | |
| ext c | |
| simp only [baseScalars, Scheme.Hom.comp_appTop, CommRingCat.hom_comp, | |
| RingHom.comp_apply] | |
| lemma scalar_naturality (p : Y βΆ Spec (CommRingCat.of β)) (U : Y.Opens) (r : β) : | |
| restrictScalar X (f β»ΒΉα΅ U) (baseScalars (f β« p) r) = | |
| f.app U (restrictScalar Y U (baseScalars p r)) := by | |
| rw [baseScalars_comp_actual] | |
| change X.presheaf.map (homOfLE le_top).op (f.appTop (baseScalars p r)) = _ | |
| exact (CategoryTheory.congr_fun (f.naturality (homOfLE le_top).op) (baseScalars p r)).symm | |
| theorem complexLinearPushforward (p : Y βΆ Spec (CommRingCat.of β)) : | |
| letI := sheafComplexLinear (f β« p) | |
| letI := sheafComplexLinear p | |
| (Scheme.Modules.pushforward f).Linear β := by | |
| let := sheafComplexLinear (f β« p) | |
| let := sheafComplexLinear p | |
| constructor | |
| intro M N g r | |
| ext U m | |
| let y : Ξ(N, f β»ΒΉα΅ U) := g.val.app (op (f β»ΒΉα΅ U)) m | |
| change restrictScalar X (f β»ΒΉα΅ U) (baseScalars (f β« p) r) β’ y = | |
| f.app U (restrictScalar Y U (baseScalars p r)) β’ y | |
| rw [scalar_naturality] | |
| variable [IsClosedImmersion f] | |
| lemma cohomologyMap_comp {M N : X.Modules} {n m k : β} | |
| (x : cohomology M n) (y : Ext.{1} M N m) (h : n + m = k) : | |
| cohomologyMap f N k (x.comp y h) = | |
| (cohomologyMap f M n x).comp (y.mapExactFunctor (Scheme.Modules.pushforward f)) h := | |
| PiExponentSeshadri.ExtSectionComparison.mapFrom_comp | |
| (Scheme.Modules.pushforward f) (structureMap f) x y h | |
| def typedCohomologyMap (M : X.Modules) (n : β) : | |
| cohomology M n β+ cohomology ((Scheme.Modules.pushforward f).obj M) n := | |
| cohomologyMap f M n | |
| lemma typedCohomologyMap_comp {M N : X.Modules} {n m k : β} | |
| (x : cohomology M n) (y : Ext.{1} M N m) (h : n + m = k) : | |
| typedCohomologyMap f N k (x.comp y h) = | |
| (typedCohomologyMap f M n x).comp | |
| (y.mapExactFunctor (Scheme.Modules.pushforward f)) h := | |
| cohomologyMap_comp f x y h | |
| lemma typedCohomologyMap_bijective (M : X.Modules) (n : β) : | |
| Function.Bijective (typedCohomologyMap f M n) := | |
| cohomologyMap_bijective f M n | |
| def cohomologyLinearMap (p : Y βΆ Spec (CommRingCat.of β)) (M : X.Modules) (n : β) : | |
| letI := Module.compHom (cohomology M n) (baseScalars (f β« p)) | |
| letI := Module.compHom (cohomology ((Scheme.Modules.pushforward f).obj M) n) (baseScalars p) | |
| cohomology M n ββ[β] cohomology ((Scheme.Modules.pushforward f).obj M) n := by | |
| letI := Module.compHom (cohomology M n) (baseScalars (f β« p)) | |
| letI := Module.compHom (cohomology ((Scheme.Modules.pushforward f).obj M) n) (baseScalars p) | |
| exact { toFun := typedCohomologyMap f M n | |
| map_add' := (typedCohomologyMap f M n).map_add | |
| map_smul' := by | |
| intro r x | |
| change typedCohomologyMap f M n ((baseScalars (f β« p) r) β’ x) = | |
| (baseScalars p r) β’ (typedCohomologyMap f M n x) | |
| rw [Ext.smul_eq_comp_mkβ, typedCohomologyMap_comp, Ext.smul_eq_comp_mkβ, | |
| Ext.mapExactFunctor_mkβ] | |
| congr 2 | |
| ext U m | |
| change Ξ(M, f β»ΒΉα΅ U) at m | |
| change restrictScalar X (f β»ΒΉα΅ U) (baseScalars (f β« p) r) β’ m = | |
| f.app U (restrictScalar Y U (baseScalars p r)) β’ m | |
| rw [scalar_naturality] } | |
| lemma cohomologyLinearMap_eq (p : Y βΆ Spec (CommRingCat.of β)) (M : X.Modules) (n : β) : | |
| β(cohomologyLinearMap f p M n) = typedCohomologyMap f M n := rfl | |
| def cohomologyLinearEquiv (p : Y βΆ Spec (CommRingCat.of β)) (M : X.Modules) (n : β) : | |
| letI := Module.compHom (cohomology M n) (baseScalars (f β« p)) | |
| letI := Module.compHom (cohomology ((Scheme.Modules.pushforward f).obj M) n) (baseScalars p) | |
| cohomology M n ββ[β] cohomology ((Scheme.Modules.pushforward f).obj M) n := by | |
| exact LinearEquiv.ofBijective (cohomologyLinearMap f p M n) | |
| (by rw [cohomologyLinearMap_eq]; exact typedCohomologyMap_bijective f M n) | |
| theorem finiteDimensional_of_pushforward | |
| (p : Y βΆ Spec (CommRingCat.of β)) (M : X.Modules) (n : β) | |
| (hfinite : letI := Module.compHom (cohomology ((Scheme.Modules.pushforward f).obj M) n) (baseScalars p) | |
| FiniteDimensional β (cohomology ((Scheme.Modules.pushforward f).obj M) n)) : | |
| letI := Module.compHom (cohomology M n) (baseScalars (f β« p)) | |
| FiniteDimensional β (cohomology M n) := by | |
| let := Module.compHom (cohomology M n) (baseScalars (f β« p)) | |
| let := Module.compHom (cohomology ((Scheme.Modules.pushforward f).obj M) n) (baseScalars p) | |
| have := hfinite | |
| exact FiniteDimensional.of_injective (cohomologyLinearEquiv f p M n).toLinearMap | |
| (cohomologyLinearEquiv f p M n).injective | |
| lemma cohomologyDimension_pushforward | |
| (p : Y βΆ Spec (CommRingCat.of β)) (M : X.Modules) (n : β) : | |
| cohomologyDimension p ((Scheme.Modules.pushforward f).obj M) n = | |
| cohomologyDimension (f β« p) M n := by | |
| let := Module.compHom (cohomology M n) (baseScalars (f β« p)) | |
| let := Module.compHom (cohomology ((Scheme.Modules.pushforward f).obj M) n) (baseScalars p) | |
| exact (cohomologyLinearEquiv f p M n).finrank_eq.symm | |
| theorem euler_pushforward (p : Y βΆ Spec (CommRingCat.of β)) (M : X.Modules) (d : β) : | |
| eulerCharacteristic p d ((Scheme.Modules.pushforward f).obj M) = | |
| eulerCharacteristic (f β« p) d M := by | |
| apply Finset.sum_congr rfl | |
| intro n hn | |
| rw [cohomologyDimension_pushforward] | |
| end | |
| end PiExponent.ClosedImmersionSerreTransfer | |
| end OAI | |