localDvrPrimeData
The local-to-prime comparison is proved with abstract rings so that residue-field localization never unfolds the boundary root construction.
Source context 5 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
noncomputable section
namespace EtaleFundamentalGroups.Kummer
open Polynomial
universe utheorem localDvrPrimeData
{R S : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R]
[CommRing S] [IsDomain S] [IsDiscreteValuationRing S]
[Algebra R S] [IsLocalHom (algebraMap R S)] [Module.IsTorsionFree R S]
{n : ℕ} (hnUnit : IsUnit (n : R))
(hindexS : (IsLocalRing.maximalIdeal S).ramificationIdx R = n)
(hresidueS : Function.Bijective (IsLocalRing.ResidueField.map (algebraMap R S)))
(Q : Ideal S) [Q.IsMaximal] :
let : Algebra (Q.under R).ResidueField Q.ResidueField :=
(Ideal.ResidueField.map (Q.under R) Q (algebraMap R S) rfl).toAlgebra
Function.Bijective (algebraMap (Q.under R).ResidueField Q.ResidueField) ∧
Algebra.IsSeparable (Q.under R).ResidueField Q.ResidueField ∧
Module.finrank (Q.under R).ResidueField Q.ResidueField = 1 ∧
Ideal.ramificationIdx' (Q.under R) Q = n ∧
IsUnit (Ideal.ramificationIdx' (Q.under R) Q : (Q.under R).ResidueField) := by
intro hresidueAlgebra
have hQeq : Q = IsLocalRing.maximalIdeal S := IsLocalRing.eq_maximalIdeal inferInstance
subst Q
let q := IsLocalRing.maximalIdeal S
have hbase : q.under R = IsLocalRing.maximalIdeal R :=
IsLocalRing.maximalIdeal_comap (algebraMap R S)
have hbijective : Function.Bijective
(algebraMap (q.under R).ResidueField q.ResidueField) := by
refine ⟨(algebraMap (q.under R).ResidueField q.ResidueField).injective, ?_⟩
intro z
obtain ⟨b, rfl⟩ := q.algebraMap_residueField_surjective z
obtain ⟨a₀, ha₀⟩ := hresidueS.surjective (IsLocalRing.residue S b)
obtain ⟨a, rfl⟩ := IsLocalRing.residue_surjective a₀
refine ⟨algebraMap R (q.under R).ResidueField a, ?_⟩
change Ideal.ResidueField.map (q.under R) q (algebraMap R S) rfl
(algebraMap R (q.under R).ResidueField a) = _
rw [Ideal.ResidueField.map_algebraMap]
exact congrArg (algebraMap (S ⧸ q) q.ResidueField) ha₀
have hseparable : Algebra.IsSeparable (q.under R).ResidueField q.ResidueField := by
refine ⟨fun x => ?_⟩
obtain ⟨a, rfl⟩ := hbijective.surjective x
exact isSeparable_algebraMap a
have hbaseNe : q.under R ≠ ⊥ := by
rw [hbase]
intro heq
exact IsDiscreteValuationRing.not_isField R
(IsLocalRing.isField_iff_maximalIdeal_eq.mpr heq)
have hindex : Ideal.ramificationIdx' (q.under R) q = n :=
(Ideal.ramificationIdx'_eq_ramificationIdx (R := R) (S := S)
(q.under R) q hbaseNe).trans hindexS
refine ⟨hbijective, hseparable, Module.finrank_of_bijective_algebraMap hbijective,
hindex, ?_⟩
rw [hindex]
simpa only [map_natCast] using hnUnit.map (algebraMap R (q.under R).ResidueField)