@@ -326,9 +326,9 @@ lemma ringKrullDim_le_iff_isMaximal_height_le {R : Type*} [CommRing R] (n : With
326326 norm_cast
327327 exact Ideal.height_mono hle
328328
329- theorem IsLocalization.primeHeight_comap (S : Submonoid R) {A : Type *} [CommRing A] [Algebra R A]
329+ theorem IsLocalization.primeHeight_under (S : Submonoid R) {A : Type *} [CommRing A] [Algebra R A]
330330 [IsLocalization S A] (J : Ideal A) [J.IsPrime] :
331- (J.comap (algebraMap R A) ).primeHeight = J.primeHeight := by
331+ (J.under R ).primeHeight = J.primeHeight := by
332332 rw [eq_comm, Ideal.primeHeight, Ideal.primeHeight, ← WithBot.coe_inj,
333333 Order.height_eq_krullDim_Iic, Order.height_eq_krullDim_Iic]
334334 let e := IsLocalization.orderIsoOfPrime S A
@@ -343,19 +343,25 @@ theorem IsLocalization.primeHeight_comap (S : Submonoid R) {A : Type*} [CommRing
343343 congrArg (fun I ↦ I.1 ) (e.right_inv ⟨_, I.1 .2 , H _ I.2 ⟩)
344344 map_rel_iff' {I₁ I₂} := @RelIso.map_rel_iff _ _ _ _ e ⟨_, I₁.1 .2 ⟩ ⟨_, I₂.1 .2 ⟩ }
345345
346- theorem IsLocalization.height_comap (S : Submonoid R) {A : Type *} [CommRing A] [Algebra R A]
347- [IsLocalization S A] (J : Ideal A) : (J.comap (algebraMap R A)).height = J.height := by
346+ @ [deprecated (since := "2026-04-09" )] alias IsLocalization.primeHeight_comap :=
347+ IsLocalization.primeHeight_under
348+
349+ theorem IsLocalization.height_under (S : Submonoid R) {A : Type *} [CommRing A] [Algebra R A]
350+ [IsLocalization S A] (J : Ideal A) : (J.under R).height = J.height := by
348351 rw [Ideal.height, Ideal.height]
349- simp_rw [← IsLocalization.primeHeight_comap S, IsLocalization.minimalPrimes_comap S A,
352+ simp_rw [← IsLocalization.primeHeight_under S, IsLocalization.minimalPrimes_comap S A,
350353 ← Ideal.height_eq_primeHeight, iInf_image]
351354
355+ @ [deprecated (since := "2026-04-09" )] alias IsLocalization.height_comap :=
356+ IsLocalization.height_under
357+
352358theorem IsLocalization.AtPrime.ringKrullDim_eq_height (I : Ideal R) [I.IsPrime] (A : Type *)
353359 [CommRing A] [Algebra R A] [IsLocalization.AtPrime A I] :
354360 ringKrullDim A = I.height := by
355361 have := IsLocalization.AtPrime.isLocalRing A I
356362 rw [← IsLocalRing.maximalIdeal_primeHeight_eq_ringKrullDim,
357- ← IsLocalization.primeHeight_comap I.primeCompl,
358- ← IsLocalization.AtPrime.comap_maximalIdeal A I,
363+ ← IsLocalization.primeHeight_under I.primeCompl,
364+ ← IsLocalization.AtPrime.under_maximalIdeal A I,
359365 Ideal.height_eq_primeHeight]
360366
361367lemma IsLocalization.height_map_of_disjoint {S : Type *} [CommRing S] [Algebra R S] (M : Submonoid R)
@@ -364,7 +370,7 @@ lemma IsLocalization.height_map_of_disjoint {S : Type*} [CommRing S] [Algebra R
364370 let P := p.map (algebraMap R S)
365371 have : P.IsPrime := isPrime_of_isPrime_disjoint M S p ‹_› h
366372 have := isLocalization_isLocalization_atPrime_isLocalization (M := M) (Localization.AtPrime P) P
367- simp_rw [P, comap_map_of_isPrime_disjoint M S _ h] at this
373+ simp_rw [P, under_map_of_isPrime_disjoint M S _ h] at this
368374 have := ringKrullDim_eq_of_ringEquiv (IsLocalization.algEquiv p.primeCompl
369375 (Localization.AtPrime P) (Localization.AtPrime p)).toRingEquiv
370376 rw [AtPrime.ringKrullDim_eq_height P, AtPrime.ringKrullDim_eq_height p] at this
0 commit comments