math / data /lean /OAI /AlgebraicGeometry /Resolution /Blowups /Etale /ModuleDerivations.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
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