Download data/lean/OAI/AlgebraicGeometry/Picard/Homomorphisms/FreeTensorPullbackIso.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.14 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/Picard/Homomorphisms/FreeTensorPullbackIso.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/Picard/Homomorphisms/FreeTensorPullbackIso.lean
-
curl -L -o FreeTensorPullbackIso.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/Picard/Homomorphisms/FreeTensorPullbackIso.lean
5.14 kB
| import OAI.AlgebraicGeometry.Picard.Homomorphisms.FreePresheafPullback | |
| /-! # Free Tensor Pullback Iso -/ | |
| namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.FreeTensorPullbackIso | |
| noncomputable section | |
| /-! The tensor-pullback comparison is invertible on free open generators. -/ | |
| open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite | |
| open _root_.CategoryTheory.MonoidalCategory | |
| open scoped TensorProduct | |
| set_option backward.isDefEq.respectTransparency.types false | |
| namespace Construction | |
| universe u | |
| variable {X Y : Scheme.{u}} (f : X ā¶ Y) | |
| local instance freeTensorPullbackIsoLocal1 : MonoidalCategory X.PresheafOfModules := PresheafOfModulesOfCommRing.monoidalCategory | |
| local instance freeTensorPullbackIsoLocal2 : MonoidalCategory Y.PresheafOfModules := PresheafOfModulesOfCommRing.monoidalCategory | |
| theorem freeTensorPullbackComparison (U V : Y.Opens) : | |
| PresheafTensorPullback.Construction.presheafTensorPullbackComparison f (FreePresheafTensor.Construction.freeOpenModulePresheaf Y U) (FreePresheafTensor.Construction.freeOpenModulePresheaf Y V) ā« | |
| ((FreePresheafPullback.Construction.freeOpenPullbackIso f U).hom āā (FreePresheafPullback.Construction.freeOpenPullbackIso f V).hom) ā« | |
| (FreePresheafTensor.Construction.freeOpenTensorIso X (f ā»Ā¹įµ U) (f ā»Ā¹įµ V)).hom = | |
| (PresheafTensorPullback.Construction.modulePresheafPullback f).map (FreePresheafTensor.Construction.freeOpenTensorIso Y U V).hom ā« | |
| (FreePresheafPullback.Construction.freeOpenPullbackIso f (U ā V)).hom := by | |
| apply ((PresheafTensorPullback.Construction.modulePresheafAdjunction f).homEquiv _ _).injective | |
| rw [Adjunction.homEquiv_naturality_right] | |
| erw [(PresheafTensorPullback.Construction.modulePresheafAdjunction f).homEquiv_naturality_left | |
| (FreePresheafTensor.Construction.freeOpenTensorIso Y U V).hom (FreePresheafPullback.Construction.freeOpenPullbackIso f (U ā V)).hom] | |
| apply (cancel_epi (FreePresheafTensor.Construction.freeOpenTensorIso Y U V).inv).mp | |
| erw [(FreePresheafTensor.Construction.freeOpenTensorIso Y U V).inv_hom_id_assoc] | |
| apply PresheafOfModules.freeYonedaEquiv.injective | |
| rw [FreePresheafPullback.Construction.freeOpenPullbackIso_homEquiv f (U ā V)] | |
| conv_rhs => erw [Equiv.apply_symm_apply] | |
| change (FreePresheafTensor.Construction.freeOpenTensorIso X (f ā»Ā¹įµ U) (f ā»Ā¹įµ V)).hom.app (op (f ā»Ā¹įµ (U ā V))) | |
| (((FreePresheafPullback.Construction.freeOpenPullbackIso f U).hom āā (FreePresheafPullback.Construction.freeOpenPullbackIso f V).hom).app (op (f ā»Ā¹įµ (U ā V))) | |
| ((PresheafTensorPullback.Construction.presheafTensorPullbackComparison f (FreePresheafTensor.Construction.freeOpenModulePresheaf Y U) (FreePresheafTensor.Construction.freeOpenModulePresheaf Y V)).app | |
| (op (f ā»Ā¹įµ (U ā V))) | |
| (((PresheafTensorPullback.Construction.modulePresheafAdjunction f).unit.app | |
| (FreePresheafTensor.Construction.freeOpenModulePresheaf Y U ā FreePresheafTensor.Construction.freeOpenModulePresheaf Y V)).app (op (U ā V)) | |
| ((FreePresheafTensor.Construction.freeOpenTensorIso Y U V).inv.app (op (U ā V)) (ModuleCat.freeMk (š (U ā V))))))) = | |
| ModuleCat.freeMk (š (f ā»Ā¹įµ (U ā V))) | |
| rw [FreePresheafPullback.Construction.freeOpenTensorIso_inv_freeMk] | |
| erw [FreePresheafPullback.Construction.presheafTensorPullbackComparison_unit_tmul] | |
| erw [PresheafOfModulesOfCommRing.Monoidal.tensorHom_app, ModuleCat.MonoidalCategory.tensorHom_tmul] | |
| erw [FreePresheafPullback.Construction.freeOpenPullbackIso_unit_freeMk, FreePresheafPullback.Construction.freeOpenPullbackIso_unit_freeMk] | |
| erw [FreePresheafPullback.Construction.freeOpenTensorIso_hom_freeMk] | |
| congr 1 | |
| theorem freeTensorPullbackComparison_isIso (U V : Y.Opens) : | |
| IsIso (PresheafTensorPullback.Construction.presheafTensorPullbackComparison f | |
| (FreePresheafTensor.Construction.freeOpenModulePresheaf Y U) (FreePresheafTensor.Construction.freeOpenModulePresheaf Y V)) := by | |
| have : IsIso (PresheafTensorPullback.Construction.presheafTensorPullbackComparison f | |
| (FreePresheafTensor.Construction.freeOpenModulePresheaf Y U) (FreePresheafTensor.Construction.freeOpenModulePresheaf Y V) ā« | |
| ((FreePresheafPullback.Construction.freeOpenPullbackIso f U).hom āā (FreePresheafPullback.Construction.freeOpenPullbackIso f V).hom) ā« | |
| (FreePresheafTensor.Construction.freeOpenTensorIso X (f ā»Ā¹įµ U) (f ā»Ā¹įµ V)).hom) := by | |
| rw [freeTensorPullbackComparison] | |
| exact (inferInstance : IsIso | |
| (((PresheafTensorPullback.Construction.modulePresheafPullback f).mapIso (FreePresheafTensor.Construction.freeOpenTensorIso Y U V) āŖā« | |
| FreePresheafPullback.Construction.freeOpenPullbackIso f (U ā V)).hom)) | |
| exact IsIso.of_isIso_comp_right _ | |
| (((FreePresheafPullback.Construction.freeOpenPullbackIso f U).hom āā (FreePresheafPullback.Construction.freeOpenPullbackIso f V).hom) ā« | |
| (FreePresheafTensor.Construction.freeOpenTensorIso X (f ā»Ā¹įµ U) (f ā»Ā¹įµ V)).hom) | |
| end Construction | |
| end | |
| end OAI.AlgebraicGeometry.Picard.Homomorphisms.FreeTensorPullbackIso | |