Skip to content

Commit 043acd4

Browse files
tb65536Bergschaf
authored andcommitted
feat(RingTheory/RamificationInertia/Ramification): ramification index is invariant under a group action (leanprover-community#39678)
This PR proves that ramification index is invariant under a group action. We already have this for the old definition `ramificationIdx`, but we will need this new version for `ramificationIdx'` for the upcoming refactor. Co-authored-by: tb65536 <thomas.l.browning@gmail.com>
1 parent c1b57b4 commit 043acd4

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Mathlib/RingTheory/RamificationInertia/Ramification.lean

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,29 @@ theorem ramificationIdx'_tower [r.LiesOver q] [Module.Flat S T] :
148148
apply ramificationIdx'_tower'
149149
· rw [ramificationIdx'_of_not_isPrime r R hr, ramificationIdx'_of_not_isPrime r S hr, mul_zero]
150150

151+
variable (R) in
152+
open Pointwise in
153+
@[simp]
154+
theorem ramificationIdx'_smul {G : Type*} [Group G] [MulSemiringAction G S] [SMulCommClass G R S]
155+
(g : G) : (g • q).ramificationIdx' R = q.ramificationIdx' R := by
156+
by_cases hq : q.IsPrime; swap
157+
· rw [ramificationIdx'_of_not_isPrime, ramificationIdx'_of_not_isPrime] <;> simpa
158+
· let p := q.under R
159+
let f₀ := MulSemiringAction.toAlgAut G R S g
160+
have hg : g • q = q.map f₀ := q.pointwise_smul_def
161+
let Sq := Localization.AtPrime q
162+
let Sq' := Localization.AtPrime (q.map f₀)
163+
let f : Sq ≃ₐ[R] Sq' :=
164+
Localization.localAlgEquiv q (q.map f₀) f₀ (comap_map_of_bijective f₀ f₀.bijective).symm
165+
let : Algebra Sq Sq' := f.toRingHom.toAlgebra
166+
have : IsScalarTower R Sq Sq' := IsScalarTower.of_algHom f.toAlgHom
167+
let e : (Sq ⧸ p.map (algebraMap R Sq)) ≃ₐ[Sq] Sq' ⧸ p.map (algebraMap R Sq') :=
168+
Ideal.quotientEquivAlg _ _ (AlgEquiv.ofBijective (Algebra.ofId Sq Sq') f.bijective)
169+
(by rw [IsScalarTower.algebraMap_eq R Sq Sq', Ideal.map_map,
170+
← AlgEquiv.toAlgHom_toRingHom, AlgEquiv.toAlgHom_ofBijective, Algebra.toRingHom_ofId])
171+
rw [hg, ramificationIdx'_eq p q, ramificationIdx'_eq p (q.map f₀),
172+
e.toLinearEquiv.length_eq, Module.length_eq_of_surjective f.surjective]
173+
151174
end
152175

153176
end Ideal

0 commit comments

Comments
 (0)