math / data /lean /OAI /AlgebraicGeometry /AbelianModuli /ReferenceFamily /Integral /BasisLocalDualRelations.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
3.37 kB
import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Integral.BasisActionRelations
import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ReflexiveTransposeAction
import Mathlib.RingTheory.LocalProperties.Basic
/-! # Basis Local Dual Relations -/
namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Integral.BasisLocalDualRelations
noncomputable section
/-! The integral multiplication relations for operators on a reflexive
module can be proved from their actual actions on all local coefficient
duals. Localization detects equality over the original ring. -/
open _root_.Module
variable {O R V I : Type} [CommRing O] [CommRing R] [AddCommGroup V] [Module R V]
(b : Basis I β„€ O) (d : I β†’ Module.End R V)
theorem integralBasis_localDual_extension {C : Type} [CommRing C] [Algebra R C]
(ρ : O β†’+* Module.End C (V β†’β‚—[R] C))
(hρ : βˆ€ i (β„“ : V β†’β‚—[R] C) v, β„“ (d i v) = (ρ (b i) β„“) v)
(x : O) (β„“ : V β†’β‚—[R] C) (v : V) :
β„“ (b.constr β„€ d x v) = (ρ x β„“) v := by
let L : O β†’β‚—[β„€] C :=
{ toFun := fun x => β„“ (b.constr β„€ d x v)
map_add' x y := by simp only [map_add, LinearMap.add_apply]
map_smul' n x := by simp only [map_smul, LinearMap.smul_apply, map_zsmul, RingHom.id_apply] }
let M : O β†’β‚—[β„€] C :=
{ toFun := fun x => (ρ x β„“) v
map_add' x y := by simp only [map_add, LinearMap.add_apply]
map_smul' n x := by simp only [map_zsmul, LinearMap.smul_apply, RingHom.id_apply] }
have h : L = M := b.ext (fun i => by
change β„“ (b.constr β„€ d (b i) v) = (ρ (b i) β„“) v
rw [Basis.constr_basis]
exact hρ i β„“ v)
exact LinearMap.congr_fun h x
theorem localDuals_detect_eq [Module.IsReflexive R V] (x y : V)
(h : βˆ€ (P : Ideal R) (_ : P.IsMaximal) (β„“ : V β†’β‚—[R] Localization.AtPrime P), β„“ x = β„“ y) :
x = y := by
apply ReflexiveTransposeAction.reflexive_eq_of_dual (R := R)
intro β„“
apply sub_eq_zero.mp
apply eq_zero_of_localization
intro P hP
let Ο† : V β†’β‚—[R] Localization.AtPrime P := (Algebra.linearMap R (Localization.AtPrime P)).comp β„“
have hh : algebraMap R (Localization.AtPrime P) (β„“ x) =
algebraMap R (Localization.AtPrime P) (β„“ y) := h P hP Ο†
exact (map_sub (algebraMap R (Localization.AtPrime P)) (β„“ x) (β„“ y)).trans (sub_eq_zero.mpr hh)
theorem integralBasisActionRelations_of_localDualActions [Module.IsReflexive R V]
(hρ : βˆ€ (P : Ideal R) (_ : P.IsMaximal),
βˆƒ ρ : O β†’+* Module.End (Localization.AtPrime P) (V β†’β‚—[R] Localization.AtPrime P),
βˆ€ i (β„“ : V β†’β‚—[R] Localization.AtPrime P) v, β„“ (d i v) = (ρ (b i) β„“) v) :
BasisActionRelations.IntegralBasisActionRelations b d := by
constructor
Β· apply LinearMap.ext
intro v
apply localDuals_detect_eq (R := R)
intro P hP β„“
obtain ⟨ρ, hρ⟩ := hρ P hP
rw [integralBasis_localDual_extension b d ρ hρ, map_one]
rfl
Β· intro i j
apply LinearMap.ext
intro v
apply localDuals_detect_eq (R := R)
intro P hP β„“
obtain ⟨ρ, hρ⟩ := hρ P hP
change β„“ (b.constr β„€ d (b i * b j) v) = β„“ (d i (d j v))
rw [integralBasis_localDual_extension b d ρ hρ, hρ, hρ]
rw [mul_comm (b i) (b j), map_mul]
rfl
end
end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Integral.BasisLocalDualRelations