@@ -48,7 +48,7 @@ lemma prod_primesOverFinset_of_isUnramified [IsUnramified R S] [IsDedekindDomain
4848 ∏ P ∈ primesOverFinset p S, P = p.map (algebraMap R S) := by
4949 classical
5050 have hpbot' : p.map (algebraMap R S) ≠ ⊥ := (Ideal.map_eq_bot_iff_of_injective
51- (NoZeroSMulDivisors.iff_algebraMap_injective .mp inferInstance)).not.mpr hp
51+ (Module.isTorsionFree_iff_algebraMap_injective .mp inferInstance)).not.mpr hp
5252 rw [← associated_iff_eq.mp (factors_pow_count_prod hpbot')]
5353 apply Finset.prod_congr rfl
5454 intros P hP
@@ -70,7 +70,7 @@ lemma comap_map_eq_of_isUnramified [IsGalois K L] [IsUnramified R S] (I : Ideal
7070 refine Function.Injective.of_comp (f := algebraMap S L) ?_
7171 rw [← RingHom.coe_comp, ← IsScalarTower.algebraMap_eq, IsScalarTower.algebraMap_eq R K L]
7272 exact (algebraMap K L).injective.comp (IsFractionRing.injective _ _)
73- have := NoZeroSMulDivisors.iff_algebraMap_injective .mpr hRS
73+ have := Module.isTorsionFree_iff_algebraMap_injective .mpr hRS
7474 by_cases hIbot : I = ⊥
7575 · rw [hIbot, Ideal.comap_bot_of_injective _ hRS, Ideal.map_bot]
7676 have h1 : Algebra.IsIntegral R S := IsIntegralClosure.isIntegral_algebra R L
@@ -149,7 +149,7 @@ lemma isUnramifiedAt_of_Separable_minpoly' [Algebra.IsSeparable K L]
149149 refine Function.Injective.of_comp (f := algebraMap S L) ?_
150150 rw [← RingHom.coe_comp, ← IsScalarTower.algebraMap_eq, IsScalarTower.algebraMap_eq R K L]
151151 exact (algebraMap K L).injective.comp (IsFractionRing.injective _ _)
152- have := NoZeroSMulDivisors.iff_algebraMap_injective .mpr hRS
152+ have := Module.isTorsionFree_iff_algebraMap_injective .mpr hRS
153153 have := IsIntegralClosure.isNoetherian R K L S
154154 have := IsIntegralClosure.isDedekindDomain R K L S
155155 have := IsIntegralClosure.isFractionRing_of_finite_extension R K L S
0 commit comments