Download data/lean/OAI/AlgebraicGeometry/Resolution/Blowups/Etale/ModuleDerivations.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 7.55 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/Resolution/Blowups/Etale/ModuleDerivations.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/Resolution/Blowups/Etale/ModuleDerivations.lean
-
curl -L -o ModuleDerivations.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/Resolution/Blowups/Etale/ModuleDerivations.lean
7.55 kB
| import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.TransverseHypersurfaceCoordinates | |
| import Mathlib.Algebra.MvPolynomial.Derivation | |
| /-! # Module Derivations -/ | |
| namespace OAI.AlgebraicGeometry.Resolution.Blowups.Etale.ModuleDerivations.Construction | |
| noncomputable section | |
| section | |
| /-! The coordinate basis of derivations relative to the coefficient | |
| field on an actual Γ©tale polynomial chart. -/ | |
| variable {Ο K S : Type*} [Field K] [CommRing S] | |
| [Algebra (MvPolynomial Ο K) S] [Algebra.Etale (MvPolynomial Ο K) S] | |
| [Algebra K S] [IsScalarTower K (MvPolynomial Ο K) S] | |
| /-- A derivation relative to the coefficient field is determined by | |
| its values on the Γ©tale coordinate functions. -/ | |
| theorem etale_relative_derivation_ext (D E : Derivation K S S) | |
| (h : β i : Ο, D (algebraMap (MvPolynomial Ο K) S (MvPolynomial.X i)) = | |
| E (algebraMap (MvPolynomial Ο K) S (MvPolynomial.X i))) : D = E := by | |
| have he : D.compAlgebraMap (MvPolynomial Ο K) = E.compAlgebraMap (MvPolynomial Ο K) := | |
| MvPolynomial.derivation_ext h | |
| apply Blowups.Etale.Derivation.Construction.etaleDerivation_ext (R := MvPolynomial Ο K) | |
| intro p | |
| exact Derivation.congr_fun he p | |
| variable [Fintype Ο] [DecidableEq Ο] | |
| /-- Every relative derivation is exactly the linear combination of the | |
| coordinate partial derivatives given by its coordinate values. -/ | |
| theorem etale_relative_derivation_eq_sum (D : Derivation K S S) : | |
| D = β i : Ο, D (algebraMap (MvPolynomial Ο K) S (MvPolynomial.X i)) β’ | |
| DifferentialEquation.Construction.etaleRelativePartial (K := K) (S := S) i := by | |
| apply etale_relative_derivation_ext (Ο := Ο) | |
| intro j | |
| have hsum := congrArg | |
| (fun g : S β S => g (algebraMap (MvPolynomial Ο K) S (MvPolynomial.X j))) | |
| (map_sum (Derivation.coeFnAddMonoidHom : Derivation K S S β+ S β S) | |
| (fun i : Ο => D (algebraMap (MvPolynomial Ο K) S (MvPolynomial.X i)) β’ | |
| DifferentialEquation.Construction.etaleRelativePartial (K := K) (S := S) i) Finset.univ) | |
| simp only [Derivation.coeFnAddMonoidHom_apply, Finset.sum_apply, | |
| Derivation.smul_apply, smul_eq_mul, TransverseHypersurfaceCoordinates.Construction.etaleRelativePartial_X] at hsum | |
| rw [hsum] | |
| simp | |
| /-- The same basis formula evaluated on any section, for use in | |
| coordinate-independent differential ideal comparisons. -/ | |
| theorem etale_relative_derivation_apply (D : Derivation K S S) (p : S) : | |
| D p = β i : Ο, D (algebraMap (MvPolynomial Ο K) S (MvPolynomial.X i)) * | |
| DifferentialEquation.Construction.etaleRelativePartial (K := K) (S := S) i p := by | |
| have he := Derivation.congr_fun (etale_relative_derivation_eq_sum (Ο := Ο) D) p | |
| have hsum := congrArg (fun g : S β S => g p) | |
| (map_sum (Derivation.coeFnAddMonoidHom : Derivation K S S β+ S β S) | |
| (fun i : Ο => D (algebraMap (MvPolynomial Ο K) S (MvPolynomial.X i)) β’ | |
| DifferentialEquation.Construction.etaleRelativePartial (K := K) (S := S) i) Finset.univ) | |
| exact he.trans (by simpa only [Derivation.coeFnAddMonoidHom_apply, Finset.sum_apply, | |
| Derivation.smul_apply, smul_eq_mul] using hsum) | |
| end | |
| /-! Γtale coordinate expansion for derivations with values in arbitrary modules. -/ | |
| variable {k A B M : Type*} [CommRing k] [CommRing A] [CommRing B] | |
| [Algebra k A] [Algebra k B] [Algebra A B] [IsScalarTower k A B] | |
| [Algebra.FormallyEtale A B] [AddCommGroup M] [Module B M] [Module k M] | |
| [IsScalarTower k B M] [Module A M] [IsScalarTower A B M] [IsScalarTower k A M] | |
| /-- Γtale uniqueness of module-valued derivations, including universal | |
| KΓ€hler derivations. -/ | |
| theorem etaleModuleDerivation_ext (D E : Derivation k B M) | |
| (h : β a : A, D (algebraMap A B a) = E (algebraMap A B a)) : D = E := by | |
| have hlin : D.liftKaehlerDifferential = E.liftKaehlerDifferential := by | |
| apply (KaehlerDifferential.isBaseChange_of_formallyEtale k A B).algHom_ext' | |
| apply Derivation.liftKaehlerDifferential_unique | |
| apply Derivation.ext | |
| intro a | |
| change D.liftKaehlerDifferential | |
| (KaehlerDifferential.map k k A B (KaehlerDifferential.D k A a)) = | |
| E.liftKaehlerDifferential | |
| (KaehlerDifferential.map k k A B (KaehlerDifferential.D k A a)) | |
| rw [KaehlerDifferential.map_D, Derivation.liftKaehlerDifferential_comp_D, | |
| Derivation.liftKaehlerDifferential_comp_D] | |
| exact h a | |
| apply Derivation.ext | |
| intro b | |
| rw [β Derivation.liftKaehlerDifferential_comp_D D b, | |
| β Derivation.liftKaehlerDifferential_comp_D E b, hlin] | |
| variable {Ο K R N : Type*} [Field K] [CommRing R] [AddCommGroup N] | |
| [Algebra (MvPolynomial Ο K) R] [Algebra.Etale (MvPolynomial Ο K) R] | |
| [Algebra K R] [IsScalarTower K (MvPolynomial Ο K) R] | |
| [Module R N] [Module K N] [IsScalarTower K R N] | |
| theorem etale_coordinate_module_derivation_ext (D E : Derivation K R N) | |
| (h : β i : Ο, D (algebraMap (MvPolynomial Ο K) R (MvPolynomial.X i)) = | |
| E (algebraMap (MvPolynomial Ο K) R (MvPolynomial.X i))) : D = E := by | |
| let : Module (MvPolynomial Ο K) N := Module.compHom N (algebraMap (MvPolynomial Ο K) R) | |
| let : IsScalarTower (MvPolynomial Ο K) R N := IsScalarTower.of_algebraMap_smul fun _ _ => rfl | |
| let : IsScalarTower K (MvPolynomial Ο K) N := | |
| IsScalarTower.of_algebraMap_smul (by | |
| intro a x | |
| change algebraMap (MvPolynomial Ο K) R (algebraMap K (MvPolynomial Ο K) a) β’ x = a β’ x | |
| rw [β IsScalarTower.algebraMap_apply K (MvPolynomial Ο K) R] | |
| exact IsScalarTower.algebraMap_smul R a x) | |
| have he : D.compAlgebraMap (MvPolynomial Ο K) = E.compAlgebraMap (MvPolynomial Ο K) := | |
| MvPolynomial.derivation_ext h | |
| apply etaleModuleDerivation_ext (A := MvPolynomial Ο K) | |
| intro p | |
| exact Derivation.congr_fun he p | |
| variable [Fintype Ο] [DecidableEq Ο] | |
| /-- The coordinate chain rule with values in an arbitrary module. -/ | |
| theorem etale_coordinate_module_derivation_expansion (D : Derivation K R N) (x : R) : | |
| D x = β i : Ο, DifferentialEquation.Construction.etaleRelativePartial (K := K) (S := R) i x β’ | |
| D (algebraMap (MvPolynomial Ο K) R (MvPolynomial.X i)) := by | |
| let E : Ο β Derivation K R N := fun i => | |
| (LinearMap.toSpanSingleton R N | |
| (D (algebraMap (MvPolynomial Ο K) R (MvPolynomial.X i)))).compDer | |
| (DifferentialEquation.Construction.etaleRelativePartial (K := K) (S := R) i) | |
| have he : D = β i : Ο, E i := by | |
| apply etale_coordinate_module_derivation_ext (Ο := Ο) | |
| intro j | |
| have hsum := congrArg | |
| (fun f : R β N => f (algebraMap (MvPolynomial Ο K) R (MvPolynomial.X j))) | |
| (map_sum (Derivation.coeFnAddMonoidHom : Derivation K R N β+ R β N) E Finset.univ) | |
| simp only [Derivation.coeFnAddMonoidHom_apply, Finset.sum_apply] at hsum | |
| rw [hsum] | |
| change D (algebraMap (MvPolynomial Ο K) R (MvPolynomial.X j)) = | |
| β i : Ο, DifferentialEquation.Construction.etaleRelativePartial (K := K) (S := R) i | |
| (algebraMap (MvPolynomial Ο K) R (MvPolynomial.X j)) β’ | |
| D (algebraMap (MvPolynomial Ο K) R (MvPolynomial.X i)) | |
| simp [TransverseHypersurfaceCoordinates.Construction.etaleRelativePartial_X] | |
| have hsum := congrArg (fun f : R β N => f x) | |
| (map_sum (Derivation.coeFnAddMonoidHom : Derivation K R N β+ R β N) E Finset.univ) | |
| calc | |
| D x = (β i : Ο, E i) x := Derivation.congr_fun he x | |
| _ = β i : Ο, E i x := by | |
| simpa only [Derivation.coeFnAddMonoidHom_apply, Finset.sum_apply] using hsum | |
| _ = _ := by | |
| apply Finset.sum_congr rfl | |
| intro i _ | |
| rfl | |
| end | |
| end OAI.AlgebraicGeometry.Resolution.Blowups.Etale.ModuleDerivations.Construction | |