File size: 3,530 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | import OAI.ArithmeticGeometry.Models.SpreadingOut.GenericPrimitive
import Mathlib.Algebra.Module.Torsion.Basic
import Mathlib.RingTheory.Flat.Basic
/-! # Common Denominator -/
namespace OAI.ArithmeticGeometry.Models.SpreadingOut.CommonDenominator.Construction
noncomputable section
/-! A finite integral algebra and its primitive subalgebra agree after
inverting one nonzero element of the base. -/
open scoped TensorProduct nonZeroDivisors
universe u
theorem finite_submodule_common_denominator
(R M : Type u) [CommRing R] [IsDomain R] [AddCommGroup M] [Module R M]
[Module.Finite R M] (N : Submodule R M)
(h : β m : M, β r : R, r β 0 β§ r β’ m β N) :
β r : R, r β 0 β§ β m : M, r β’ m β N := by
have hQ : Module.IsTorsion R (M β§Έ N) := by
intro q
obtain β¨m, rflβ© := N.mkQ_surjective q
obtain β¨r, hr, hmβ© := h m
refine β¨β¨r, mem_nonZeroDivisors_of_ne_zero hrβ©, ?_β©
change r β’ N.mkQ m = 0
rw [β map_smul]
exact (Submodule.Quotient.mk_eq_zero N).mpr hm
obtain β¨r, hr, hr0β© := Submodule.annihilator_top_inter_nonZeroDivisors hQ
refine β¨r, mem_nonZeroDivisors_iff_ne_zero.mp hr0, fun m β¦ ?_β©
have H := (Submodule.mem_annihilator.mp hr) (N.mkQ m) Submodule.mem_top
rw [β map_smul] at H
exact (Submodule.Quotient.mk_eq_zero N).mp H
theorem primitive_subalgebra_common_denominator
(P A F E : Type u) [CommRing P] [IsDomain P] [CommRing A]
[Field F] [CommRing E] [Algebra P A] [Algebra P F] [IsFractionRing P F]
[Algebra F E] [Algebra P E] [IsScalarTower P F E]
[Module.Finite P A] (f : A ββ[P] E) (hf : Function.Injective f)
(a : A) (hgen : Algebra.adjoin F ({f a} : Set E) = β€) :
β d : P, d β 0 β§ β x : A, d β’ x β Algebra.adjoin P ({a} : Set A) := by
apply finite_submodule_common_denominator P A (Algebra.adjoin P {a}).toSubmodule
intro x
have hx : f x β Algebra.adjoin F ({f a} : Set E) := by rw [hgen]; trivial
obtain β¨s, hsβ© := multiple_mem_adjoin_of_mem_localization_adjoin Pβ° F {f a} (f x) hx
refine β¨s, nonZeroDivisors.coe_ne_zero s, ?_β©
rw [β f.map_adjoin_singleton a] at hs
obtain β¨y, hy, heβ© := hs
have hxy : y = (s : P) β’ x := hf (by
rw [map_smul]
exact he)
exact hxy βΈ hy
theorem finite_domain_primitive_common_denominator
(P A F : Type u) [CommRing P] [IsDomain P] [CommRing A] [IsDomain A]
[Field F] [CharZero F] [Algebra P A] [FaithfulSMul P A]
[Algebra P F] [IsFractionRing P F] [Module.Finite P A] :
β (a : A) (d : P), d β 0 β§ β x : A, d β’ x β Algebra.adjoin P ({a} : Set A) := by
obtain β¨a, haβ© := GenericPrimitive.Construction.finite_domain_generic_fiber_has_algebra_generator P A F
let f : A ββ[P] F β[P] A := Algebra.TensorProduct.includeRight
have hf : Function.Injective f := by
apply (injective_iff_map_eq_zero f).mpr
intro x hx
obtain β¨s, hsβ© := (IsLocalizedModule.eq_zero_iff Pβ° (TensorProduct.mk P F A 1)).mp hx
have hs0 : algebraMap P A (s : P) β 0 := by
simpa only [map_zero] using
(FaithfulSMul.algebraMap_injective P A).ne (nonZeroDivisors.coe_ne_zero s)
exact (mul_eq_zero.mp (show algebraMap P A (s : P) * x = 0 by
simpa only [Submonoid.smul_def, Algebra.smul_def] using hs)).resolve_left hs0
obtain β¨d, hd, hdxβ© := primitive_subalgebra_common_denominator P A F (F β[P] A) f hf a ha
exact β¨a, d, hd, hdxβ©
end
end OAI.ArithmeticGeometry.Models.SpreadingOut.CommonDenominator.Construction
|