@@ -67,7 +67,7 @@ open scoped Classical in
6767 maximal ideal `p` of `A` are the same, which we define as `Ideal.inertiaDegIn`. -/
6868noncomputable def inertiaDegIn {A : Type *} [CommRing A] (p : Ideal A)
6969 (B : Type *) [CommRing B] [Algebra A B] : ℕ :=
70- if h : ∃ P : Ideal B, P.IsPrime ∧ P.LiesOver p then h.choose.inertiaDeg' A else 0
70+ if h : ∃ P : Ideal B, P.IsPrime ∧ P.LiesOver p then h.choose.inertiaDeg A else 0
7171
7272section MulAction
7373
@@ -145,9 +145,9 @@ theorem ramificationIdx_eq_of_isGaloisGroup :
145145include p G in
146146/-- All the `Ideal.inertiaDeg` over a fixed maximal ideal are the same. -/
147147theorem inertiaDeg_eq_of_isGaloisGroup :
148- P.inertiaDeg' A = Q.inertiaDeg' A := by
148+ P.inertiaDeg A = Q.inertiaDeg A := by
149149 rcases exists_smul_eq_of_isGaloisGroup p P Q G with ⟨σ, rfl⟩
150- rw [inertiaDeg'_smul ]
150+ rw [inertiaDeg_smul ]
151151
152152include p G in
153153/-- The `ramificationIdxIn` is equal to any ramification index over the same ideal. -/
@@ -168,7 +168,7 @@ theorem ramificationIdxIn_ne_zero [Module.Finite A B] [FaithfulSMul A B] {p : Id
168168include G in
169169/-- The `inertiaDegIn` is equal to any ramification index over the same ideal. -/
170170theorem inertiaDegIn_eq_inertiaDeg :
171- inertiaDegIn p B = P.inertiaDeg' A := by
171+ inertiaDegIn p B = P.inertiaDeg A := by
172172 have h : ∃ P : Ideal B, P.IsPrime ∧ P.LiesOver p := ⟨P, hPp, hp⟩
173173 obtain ⟨_, _⟩ := h.choose_spec
174174 rw [inertiaDegIn, dif_pos h]
@@ -179,7 +179,7 @@ theorem inertiaDegIn_ne_zero [Module.Finite A B] [FaithfulSMul A B] {p : Ideal A
179179 inertiaDegIn p B ≠ 0 := by
180180 obtain ⟨P⟩ := (inferInstance : Nonempty (primesOver p B))
181181 rw [inertiaDegIn_eq_inertiaDeg p P G]
182- exact (P.1 .inertiaDeg'_pos A).ne'
182+ exact (P.1 .inertiaDeg_pos A).ne'
183183
184184section tower
185185
@@ -194,7 +194,7 @@ theorem inertiaDegIn_mul_inertiaDegIn :
194194 obtain ⟨⟨Q, _, _⟩⟩ := (inferInstance : Nonempty (primesOver P C))
195195 have : Q.LiesOver p := LiesOver.trans Q P p
196196 rw [inertiaDegIn_eq_inertiaDeg p P G, inertiaDegIn_eq_inertiaDeg p Q GAC,
197- inertiaDegIn_eq_inertiaDeg P Q GBC, ← inertiaDeg'_tower P Q]
197+ inertiaDegIn_eq_inertiaDeg P Q GBC, ← inertiaDeg_tower P Q]
198198
199199variable {p} in
200200include G GAC GBC in
@@ -286,7 +286,7 @@ open Algebra
286286attribute [local instance ] Ideal.Quotient.field in
287287theorem card_stabilizer_eq_card_inertia_mul_finrank (p : Ideal R) [p.IsPrime]
288288 (P : Ideal S) [P.LiesOver p] [P.IsPrime] [PerfectField p.ResidueField] :
289- Nat.card (MulAction.stabilizer G P) = Nat.card (inertia G P) * P.inertiaDeg' R := by
289+ Nat.card (MulAction.stabilizer G P) = Nat.card (inertia G P) * P.inertiaDeg R := by
290290 let := Localization.AtPrime.algebraOfLiesOver p P
291291 have heq : (algebraMap (S ⧸ P) P.ResidueField).comp (algebraMap (R ⧸ p) (S ⧸ P)) =
292292 (algebraMap p.ResidueField P.ResidueField).comp (algebraMap (R ⧸ p) p.ResidueField) := by
@@ -301,14 +301,14 @@ theorem card_stabilizer_eq_card_inertia_mul_finrank (p : Ideal R) [p.IsPrime]
301301 Ideal.IsFractionRing.finite_of_isInvariant G p P p.ResidueField P.ResidueField
302302 have : Subgroup.index _ = _ := Nat.card_congr
303303 (IsFractionRing.stabilizerQuotientInertiaEquiv G p P p.ResidueField P.ResidueField).toEquiv
304- rw [inertiaDeg'_eq p P, ← IsGalois.card_aut_eq_finrank p.ResidueField P.ResidueField, ← this,
304+ rw [inertiaDeg_eq p P, ← IsGalois.card_aut_eq_finrank p.ResidueField P.ResidueField, ← this,
305305 ← ((inertia G P).subgroupOf (MulAction.stabilizer G P)).card_mul_index,
306306 Nat.card_congr (Subgroup.subgroupOfEquivOfLe (inertia_le_stabilizer (M := G) P)).toEquiv,
307307 AddSubgroup.subgroupOf_inertia]
308308
309309lemma ncard_primesOver_mul_card_inertia_mul_finrank (p : Ideal R) [p.IsPrime]
310310 (P : Ideal S) [P.LiesOver p] [P.IsPrime] [PerfectField p.ResidueField] :
311- (p.primesOver S).ncard * Nat.card (P.inertia G) * P.inertiaDeg' R = Nat.card G := by
311+ (p.primesOver S).ncard * Nat.card (P.inertia G) * P.inertiaDeg R = Nat.card G := by
312312 rw [mul_assoc, ← card_stabilizer_eq_card_inertia_mul_finrank p P,
313313 ← IsInvariant.orbit_eq_primesOver R S G p P]
314314 simpa using Nat.card_congr (MulAction.orbitProdStabilizerEquivGroup G P)
0 commit comments