Download data/lean/OAI/NumberTheory/PiExponent/Approximation/FrameTensorPowers.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 6.87 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/PiExponent/Approximation/FrameTensorPowers.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/NumberTheory/PiExponent/Approximation/FrameTensorPowers.lean
-
curl -L -o FrameTensorPowers.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/PiExponent/Approximation/FrameTensorPowers.lean
6.87 kB
| import OAI.NumberTheory.PiExponent.Polynomials.FrameCoefficients | |
| namespace OAI | |
| namespace PiExponentSeshadri.Geometry | |
| noncomputable section | |
| open CategoryTheory AlgebraicGeometry TopologicalSpace MonoidalCategory | |
| open scoped AlgebraicGeometry | |
| open PiExponentSeshadri.Frames | |
| variable {X : Scheme} | |
| lemma tensor_unit_end {C : Type*} [Category C] [MonoidalCategory C] | |
| (f g : π_ C βΆ π_ C) : | |
| (f ββ g) β« (Ξ»_ (π_ C)).hom = (Ξ»_ (π_ C)).hom β« (f β« g) := by | |
| rw [MonoidalCategory.tensorHom_def, Category.assoc, leftUnitor_naturality, β Category.assoc, | |
| unitors_equal, rightUnitor_naturality, Category.assoc] | |
| lemma moduleTensorUnit_scalar (f g : structureSheaf X βΆ structureSheaf X) : | |
| moduleTensorMap f g β« (moduleTensorUnit (structureSheaf X)).hom = | |
| (moduleTensorUnit (structureSheaf X)).hom β« (f β« g) := by | |
| let : MonoidalCategory (PresheafOfModules X.ringCatSheaf.obj) := | |
| PresheafOfModulesOfCommRing.monoidalCategory (R := X.presheaf) | |
| let F : PresheafOfModules X.ringCatSheaf.obj β₯€ X.Modules := | |
| PresheafOfModules.sheafification (π X.ringCatSheaf.obj) | |
| let G : X.Modules β₯€ PresheafOfModules X.ringCatSheaf.obj := | |
| SheafOfModules.forget X.ringCatSheaf β | |
| PresheafOfModules.restrictScalars (π X.ringCatSheaf.obj) | |
| let Ξ΅ : G β F βΆ π X.Modules := | |
| (PresheafOfModules.sheafificationAdjunction (π X.ringCatSheaf.obj)).counit | |
| have h : (f.val ββ g.val) β« (Ξ»_ (structureSheaf X).val).hom = | |
| (Ξ»_ (structureSheaf X).val).hom β« (f β« g).val := by | |
| let fβ : π_ (PresheafOfModules X.ringCatSheaf.obj) βΆ | |
| π_ (PresheafOfModules X.ringCatSheaf.obj) := f.val | |
| let gβ : π_ (PresheafOfModules X.ringCatSheaf.obj) βΆ | |
| π_ (PresheafOfModules X.ringCatSheaf.obj) := g.val | |
| exact tensor_unit_end fβ gβ | |
| change F.map (f.val ββ g.val) β« (F.map (Ξ»_ (structureSheaf X).val).hom β« Ξ΅.app (structureSheaf X)) = | |
| (F.map (Ξ»_ (structureSheaf X).val).hom β« Ξ΅.app (structureSheaf X)) β« (f β« g) | |
| erw [β Category.assoc, β F.map_comp, h, F.map_comp, Category.assoc, Category.assoc] | |
| congr 1 | |
| exact Ξ΅.naturality (f β« g) | |
| def endPower (f : structureSheaf X βΆ structureSheaf X) : β β (structureSheaf X βΆ structureSheaf X) | |
| | 0 => π _ | |
| | n + 1 => f β« endPower f n | |
| lemma endValue_endPower (f : structureSheaf X βΆ structureSheaf X) (n : β) : | |
| endValue (endPower f n) = endValue f ^ n := by | |
| induction n with | |
| | zero => | |
| change (1 : Ξ(X, β€)) = endValue f ^ 0 | |
| exact (pow_zero _).symm | |
| | succ n hn => | |
| calc | |
| endValue (endPower f (n + 1)) = endValue f * endValue (endPower f n) := | |
| endValue_comp f (endPower f n) | |
| _ = endValue f * endValue f ^ n := congrArg (endValue f * Β·) hn | |
| _ = _ := (pow_succ' _ _).symm | |
| lemma moduleTensorUnit_natural {M N : X.Modules} (g : M βΆ N) : | |
| moduleTensorMap (π (structureSheaf X)) g β« (moduleTensorUnit N).hom = | |
| (moduleTensorUnit M).hom β« g := by | |
| let : MonoidalCategory (PresheafOfModules X.ringCatSheaf.obj) := | |
| PresheafOfModulesOfCommRing.monoidalCategory (R := X.presheaf) | |
| let F : PresheafOfModules X.ringCatSheaf.obj β₯€ X.Modules := | |
| PresheafOfModules.sheafification (π X.ringCatSheaf.obj) | |
| let G : X.Modules β₯€ PresheafOfModules X.ringCatSheaf.obj := | |
| SheafOfModules.forget X.ringCatSheaf β | |
| PresheafOfModules.restrictScalars (π X.ringCatSheaf.obj) | |
| let Ξ΅ : G β F βΆ π X.Modules := | |
| (PresheafOfModules.sheafificationAdjunction (π X.ringCatSheaf.obj)).counit | |
| change F.map ((π (structureSheaf X).val) ββ g.val) β« | |
| (F.map (Ξ»_ N.val).hom β« Ξ΅.app N) = | |
| (F.map (Ξ»_ M.val).hom β« Ξ΅.app M) β« g | |
| have h : ((π (structureSheaf X).val) ββ g.val) β« (Ξ»_ N.val).hom = | |
| (Ξ»_ M.val).hom β« g.val := by | |
| rw [id_tensorHom] | |
| exact leftUnitor_naturality g.val | |
| have hF : F.map (π (structureSheaf X).val ββ g.val) β« F.map (Ξ»_ N.val).hom = | |
| F.map (Ξ»_ M.val).hom β« F.map g.val := | |
| (F.map_comp _ _).symm.trans ((congrArg F.map h).trans (F.map_comp _ _)) | |
| refine (Category.assoc _ _ _).symm.trans ?_ | |
| refine (congrArg (Β· β« Ξ΅.app N) hF).trans ?_ | |
| refine (Category.assoc _ _ _).trans ?_ | |
| refine (congrArg (F.map (Ξ»_ M.val).hom β« Β·) (Ξ΅.naturality g)).trans ?_ | |
| exact (Category.assoc _ _ _).symm | |
| lemma modulePowMap_unitPower (f : structureSheaf X βΆ structureSheaf X) (n : β) : | |
| modulePowMap f n β« (unitPowerIso n).hom = | |
| (unitPowerIso n).hom β« endPower f n := by | |
| induction n with | |
| | zero => | |
| change π (structureSheaf X) β« π (structureSheaf X) = π (structureSheaf X) β« π (structureSheaf X) | |
| rfl | |
| | succ n hn => | |
| change moduleTensorMap f (modulePowMap f n) β« | |
| ((moduleTensorUnit _).hom β« (unitPowerIso n).hom) = | |
| ((moduleTensorUnit _).hom β« (unitPowerIso n).hom) β« (f β« endPower f n) | |
| calc | |
| _ = moduleTensorMap f (modulePowMap f n) β« | |
| moduleTensorMap (π (structureSheaf X)) (unitPowerIso n).hom β« | |
| (moduleTensorUnit (structureSheaf X)).hom := by | |
| rw [moduleTensorUnit_natural] | |
| _ = moduleTensorMap f ((unitPowerIso n).hom β« endPower f n) β« | |
| (moduleTensorUnit (structureSheaf X)).hom := by | |
| rw [β Category.assoc, β moduleTensorMap_comp, Category.comp_id, hn] | |
| _ = moduleTensorMap (π (structureSheaf X)) (unitPowerIso n).hom β« | |
| moduleTensorMap f (endPower f n) β« (moduleTensorUnit (structureSheaf X)).hom := by | |
| rw [β Category.assoc, β moduleTensorMap_comp, Category.id_comp] | |
| _ = (moduleTensorUnit (modulePow X (structureSheaf X) n)).hom β« | |
| (unitPowerIso n).hom β« (f β« endPower f n) := by | |
| rw [moduleTensorUnit_scalar, β Category.assoc, moduleTensorUnit_natural, | |
| Category.assoc] | |
| _ = _ := by simp only [Category.assoc] | |
| def globalPowerFrame {M : X.Modules} (e : M β structureSheaf X) (n : β) : | |
| modulePow X M n β structureSheaf X := | |
| (modulePowFunctor n).mapIso e βͺβ« unitPowerIso n | |
| lemma powerSection_coefficient {M : X.Modules} (e : M β structureSheaf X) | |
| (s : structureSheaf X βΆ M) (n : β) : | |
| coefficient (globalPowerFrame e n) (powerSection s n) = coefficient e s ^ n := by | |
| change endValue ((unitPowerIso n).inv β« modulePowMap s n β« | |
| (modulePowMap e.hom n β« (unitPowerIso n).hom)) = _ | |
| erw [β Category.assoc (modulePowMap s n), β modulePowMap_comp, | |
| modulePowMap_unitPower, Iso.inv_hom_id_assoc, endValue_endPower] | |
| rfl | |
| lemma frameChange_globalPowerFrame {M : X.Modules} | |
| (e f : M β structureSheaf X) (n : β) : | |
| (frameChange (globalPowerFrame e n) (globalPowerFrame f n) : Ξ(X,β€)) = | |
| (frameChange e f : Ξ(X,β€)) ^ n := by | |
| have h := powerSection_coefficient f e.inv n | |
| exact h | |
| end | |
| end PiExponentSeshadri.Geometry | |
| end OAI | |