Module

SmulEqCardStabilizerEqRamificationIdxMulInertiaDeg.lean

Nyll.ValuedFieldTheory.Valuation.Subring.Ramification.SmulEqCardStabilizerEqRamificationIdxMulInertiaDeg
13 declarations indexed from sourceView source ↗

Valuation Subring exists smul eq and card stabilizer eq ramification Idx mul inertia Deg

Imports41
  • Mathlib.Algebra.Module.Torsion.Free
  • Mathlib.LinearAlgebra.Dimension.Finrank
  • Mathlib.LinearAlgebra.Dimension.StrongRankCondition
  • Mathlib.RingTheory.Valuation.ValuationSubring
  • Mathlib.RingTheory.Valuation.LocalSubring
  • Mathlib.RingTheory.LocalRing.MaximalIdeal.Basic
  • Mathlib.RingTheory.Localization.AtPrime.Basic
  • Mathlib.RingTheory.Localization.Integral
  • Mathlib.RingTheory.IntegralClosure.Algebra.Basic
  • Mathlib.RingTheory.IntegralClosure.IntegrallyClosed
  • Mathlib.RingTheory.Ideal.Maps
  • Mathlib.RingTheory.Ideal.Over
  • Mathlib.RingTheory.Ideal.GoingUp
  • Mathlib.RingTheory.DiscreteValuationRing.Basic
  • Mathlib.RingTheory.DedekindDomain.Basic
  • Mathlib.RingTheory.DedekindDomain.AdicValuation.Completion
  • Mathlib.RingTheory.DedekindDomain.AdicValuation.Valuation
  • Mathlib.RingTheory.DedekindDomain.Dvr
  • Mathlib.RingTheory.DedekindDomain.Ideal.Lemmas
  • Mathlib.NumberTheory.RamificationInertia.Ramification
  • Mathlib.RingTheory.RamificationInertia.Ramification
  • Mathlib.RingTheory.RamificationInertia.Inertia
  • Mathlib.Tactic.Ext
  • Mathlib.Algebra.Algebra.Equiv
  • Mathlib.Algebra.GroupWithZero.Action.Defs
  • Mathlib.Algebra.Ring.Action.Field
  • Mathlib.Data.Set.Card
  • Mathlib.SetTheory.Cardinal.Finite
  • Mathlib.GroupTheory.GroupAction.Defs
  • Mathlib.GroupTheory.GroupAction.Quotient
  • Mathlib.FieldTheory.Galois.Basic
  • Mathlib.FieldTheory.Galois.IsGaloisGroup
  • Mathlib.RingTheory.DedekindDomain.IntegralClosure
  • Mathlib.RingTheory.Ideal.Pointwise
  • Mathlib.RingTheory.Invariant.Basic
  • Mathlib.RingTheory.Invariant.Galois
  • Mathlib.RingTheory.IsGaloisGroup.Basic
  • Mathlib.NumberTheory.RamificationInertia.Galois
  • Mathlib.RingTheory.Valuation.RamificationGroup
  • Nyll.ValuedFieldTheory.Valuation.Subring.Discrete.DVRAlgebraMapMemSeparable
  • Nyll.SchemeTheory.RingTheory.Localization.InertiaDegree
Imported by2

Declarations

AlgebraicCurves.Valuations.Proofs.ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg.EmbCountGal.ramificationIdx_mul_inertiaDeg_Wv
Source context 15 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Valuations.Proofs
namespace ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg
namespace EmbCountGal
open IsLocalRing IsDedekindDomain
open scoped Pointwise
open ValuationSubring_isDiscreteValuationRing_of_forall_algebraMap_mem_of_isSeparable.EmbCountDvr
  (Over overAlgebra valuationSubringAtCenter_eq over_valuationSubringAtPrime
  mem_maximalIdeal_iff_inv_not_mem mem_of_mem_integralClosure toOver coe_toOver
  center mem_center_iff vOf liesOver_maximalIdeal ne_top_of_over
  algebraMap_overAlgebra_injective maximalIdeal_ne_bot isTorsionFree_integralClosure
  isFractionRing_integralClosure isDedekindDomain_integralClosure finite_integralClosure)
section dict2
variable {C : Type*} [CommRing C] [IsDomain C] [IsDiscreteValuationRing C]
variable (K : Type*) [Field K] [Algebra C K] [IsFractionRing C K]
variable {F : Type*} [Field F] [Algebra K F] [Algebra C F] [IsScalarTower C K F]
variable [IsFractionRing (integralClosure C F) F] [IsDedekindDomain (integralClosure C F)]
local notation "Wv" => HeightOneSpectrum.valuationSubringAtPrime F
include K in
theorem ramificationIdx_mul_inertiaDeg_Wv (v : HeightOneSpectrum (integralClosure C F))
    (hv : ∀ c : C, algebraMap C F c ∈ Wv v) :
    letI := overAlgebra (Wv v) hv
    (maximalIdeal C).ramificationIdx' (maximalIdeal (Wv v)) *
      (maximalIdeal (Wv v)).inertiaDeg C =
    (maximalIdeal C).ramificationIdx' v.asIdeal * v.asIdeal.inertiaDeg C := by
  let _ : Algebra C (Wv v) := overAlgebra (Wv v) hv
  have _ := liesOver_maximalIdeal v
  have _ : IsScalarTower C (integralClosure C F) (Wv v) :=
    IsScalarTower.of_algebraMap_eq fun a => Subtype.ext rfl
  have _ : IsDiscreteValuationRing (Wv v) :=
    IsLocalization.AtPrime.isDiscreteValuationRing_of_dedekind_domain (integralClosure C F)
      v.ne_bot (Wv v)
  have hmapS : Ideal.map (algebraMap (integralClosure C F) (Wv v)) v.asIdeal =
      maximalIdeal (Wv v) :=
    IsLocalization.AtPrime.map_eq_maximalIdeal v.asIdeal (Wv v)
  have hmW0 : maximalIdeal (Wv v) ≠ ⊥ := IsDiscreteValuationRing.not_a_field _
  have : (maximalIdeal (Wv v)).LiesOver v.asIdeal :=
    ⟨(IsLocalization.AtPrime.under_maximalIdeal (Wv v) v.asIdeal).symm⟩
  have he : (maximalIdeal C).ramificationIdx' (maximalIdeal (Wv v)) =
      (maximalIdeal C).ramificationIdx' v.asIdeal *
        v.asIdeal.ramificationIdx' (maximalIdeal (Wv v)) :=
    Ideal.ramificationIdx'_algebra_tower (by rw [hmapS]; exact hmW0)
      (by
        rw [Ne, Ideal.map_eq_bot_iff_of_injective (algebraMap_overAlgebra_injective K _ _)]
        exact maximalIdeal_ne_bot)
      hmapS.le
  have he1 : v.asIdeal.ramificationIdx' (maximalIdeal (Wv v)) = 1 := by
    rw [← hmapS]
    exact Ideal.ramificationIdx'_map_self_eq_one
      (by rw [hmapS]; exact (maximalIdeal.isMaximal _).ne_top) (by rw [hmapS]; exact hmW0)
  have hf : (maximalIdeal (Wv v)).inertiaDeg C =
      v.asIdeal.inertiaDeg C * (maximalIdeal (Wv v)).inertiaDeg (integralClosure C F) :=
    Ideal.inertiaDeg_tower _ _
  have hf1 : (maximalIdeal (Wv v)).inertiaDeg (integralClosure C F) = 1 :=
    _root_.IsLocalization.AtPrime.inertiaDeg_maximalIdeal_eq_one v.asIdeal (Wv v)
  rw [he, he1, hf, hf1, mul_one, mul_one]
AlgebraicCurves.Valuations.Proofs.ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg.EmbCountGal.smul_algebraMap
Source context 16 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Valuations.Proofs
namespace ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg
namespace EmbCountGal
open IsLocalRing IsDedekindDomain
open scoped Pointwise
open ValuationSubring_isDiscreteValuationRing_of_forall_algebraMap_mem_of_isSeparable.EmbCountDvr
  (Over overAlgebra valuationSubringAtCenter_eq over_valuationSubringAtPrime
  mem_maximalIdeal_iff_inv_not_mem mem_of_mem_integralClosure toOver coe_toOver
  center mem_center_iff vOf liesOver_maximalIdeal ne_top_of_over
  algebraMap_overAlgebra_injective maximalIdeal_ne_bot isTorsionFree_integralClosure
  isFractionRing_integralClosure isDedekindDomain_integralClosure finite_integralClosure)
section galois
variable {C : Type*} [CommRing C] [IsDomain C] [IsDiscreteValuationRing C]
variable (K : Type*) [Field K] [Algebra C K] [IsFractionRing C K]
variable {M : Type*} [Field M] [Algebra K M] [Algebra C M] [IsScalarTower C K M]
variable [IsFractionRing (integralClosure C M) M] [IsDedekindDomain (integralClosure C M)]
variable [MulSemiringAction (M ≃ₐ[K] M) (integralClosure C M)]
variable [SMulDistribClass (M ≃ₐ[K] M) (integralClosure C M) M]
omit [IsDomain C] [IsDiscreteValuationRing C] [IsFractionRing C K]
    [IsFractionRing (integralClosure C M) M] [IsDedekindDomain (integralClosure C M)]
    [MulSemiringAction (M ≃ₐ[K] M) (integralClosure C M)]
    [SMulDistribClass (M ≃ₐ[K] M) (integralClosure C M) M] in
theorem smul_algebraMap (σ : M ≃ₐ[K] M) (c : C) : σ • algebraMap C M c = algebraMap C M c
AlgebraicCurves.Valuations.Proofs.ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg.EmbCountGal.mem_smul_nonunits_iff
Source context 15 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Valuations.Proofs
namespace ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg
namespace EmbCountGal
open IsLocalRing IsDedekindDomain
open scoped Pointwise
open ValuationSubring_isDiscreteValuationRing_of_forall_algebraMap_mem_of_isSeparable.EmbCountDvr
  (Over overAlgebra valuationSubringAtCenter_eq over_valuationSubringAtPrime
  mem_maximalIdeal_iff_inv_not_mem mem_of_mem_integralClosure toOver coe_toOver
  center mem_center_iff vOf liesOver_maximalIdeal ne_top_of_over
  algebraMap_overAlgebra_injective maximalIdeal_ne_bot isTorsionFree_integralClosure
  isFractionRing_integralClosure isDedekindDomain_integralClosure finite_integralClosure)
section galois
variable {C : Type*} [CommRing C] [IsDomain C] [IsDiscreteValuationRing C]
variable (K : Type*) [Field K] [Algebra C K] [IsFractionRing C K]
variable {M : Type*} [Field M] [Algebra K M] [Algebra C M] [IsScalarTower C K M]
variable [IsFractionRing (integralClosure C M) M] [IsDedekindDomain (integralClosure C M)]
variable [MulSemiringAction (M ≃ₐ[K] M) (integralClosure C M)]
variable [SMulDistribClass (M ≃ₐ[K] M) (integralClosure C M) M]
theorem mem_smul_nonunits_iff (σ : M ≃ₐ[K] M) (V : ValuationSubring M) (x : M) :
    x ∈ (σ • V).nonunits ↔ σ⁻¹ • x ∈ V.nonunits
AlgebraicCurves.Valuations.Proofs.ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg.EmbCountGal.over_smul
Source context 16 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Valuations.Proofs
namespace ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg
namespace EmbCountGal
open IsLocalRing IsDedekindDomain
open scoped Pointwise
open ValuationSubring_isDiscreteValuationRing_of_forall_algebraMap_mem_of_isSeparable.EmbCountDvr
  (Over overAlgebra valuationSubringAtCenter_eq over_valuationSubringAtPrime
  mem_maximalIdeal_iff_inv_not_mem mem_of_mem_integralClosure toOver coe_toOver
  center mem_center_iff vOf liesOver_maximalIdeal ne_top_of_over
  algebraMap_overAlgebra_injective maximalIdeal_ne_bot isTorsionFree_integralClosure
  isFractionRing_integralClosure isDedekindDomain_integralClosure finite_integralClosure)
section galois
variable {C : Type*} [CommRing C] [IsDomain C] [IsDiscreteValuationRing C]
variable (K : Type*) [Field K] [Algebra C K] [IsFractionRing C K]
variable {M : Type*} [Field M] [Algebra K M] [Algebra C M] [IsScalarTower C K M]
variable [IsFractionRing (integralClosure C M) M] [IsDedekindDomain (integralClosure C M)]
variable [MulSemiringAction (M ≃ₐ[K] M) (integralClosure C M)]
variable [SMulDistribClass (M ≃ₐ[K] M) (integralClosure C M) M]
omit [IsFractionRing C K] [IsFractionRing (integralClosure C M) M]
    [IsDedekindDomain (integralClosure C M)]
    [MulSemiringAction (M ≃ₐ[K] M) (integralClosure C M)]
    [SMulDistribClass (M ≃ₐ[K] M) (integralClosure C M) M] in
theorem over_smul (V : ValuationSubring M) (h : Over C V) (σ : M ≃ₐ[K] M) : Over C (σ • V)
AlgebraicCurves.Valuations.Proofs.ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg.EmbCountGal.coe_smul_integralClosure
Source context 16 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Valuations.Proofs
namespace ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg
namespace EmbCountGal
open IsLocalRing IsDedekindDomain
open scoped Pointwise
open ValuationSubring_isDiscreteValuationRing_of_forall_algebraMap_mem_of_isSeparable.EmbCountDvr
  (Over overAlgebra valuationSubringAtCenter_eq over_valuationSubringAtPrime
  mem_maximalIdeal_iff_inv_not_mem mem_of_mem_integralClosure toOver coe_toOver
  center mem_center_iff vOf liesOver_maximalIdeal ne_top_of_over
  algebraMap_overAlgebra_injective maximalIdeal_ne_bot isTorsionFree_integralClosure
  isFractionRing_integralClosure isDedekindDomain_integralClosure finite_integralClosure)
section galois
variable {C : Type*} [CommRing C] [IsDomain C] [IsDiscreteValuationRing C]
variable (K : Type*) [Field K] [Algebra C K] [IsFractionRing C K]
variable {M : Type*} [Field M] [Algebra K M] [Algebra C M] [IsScalarTower C K M]
variable [IsFractionRing (integralClosure C M) M] [IsDedekindDomain (integralClosure C M)]
variable [MulSemiringAction (M ≃ₐ[K] M) (integralClosure C M)]
variable [SMulDistribClass (M ≃ₐ[K] M) (integralClosure C M) M]
omit [IsDomain C] [IsDiscreteValuationRing C] [Algebra C K] [IsFractionRing C K]
    [IsScalarTower C K M] [IsFractionRing (integralClosure C M) M]
    [IsDedekindDomain (integralClosure C M)] in
theorem coe_smul_integralClosure (σ : M ≃ₐ[K] M) (s : integralClosure C M) :
    ((σ • s : integralClosure C M) : M) = σ • (s : M)
AlgebraicCurves.Valuations.Proofs.ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg.EmbCountGal.center_smul
Source context 16 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Valuations.Proofs
namespace ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg
namespace EmbCountGal
open IsLocalRing IsDedekindDomain
open scoped Pointwise
open ValuationSubring_isDiscreteValuationRing_of_forall_algebraMap_mem_of_isSeparable.EmbCountDvr
  (Over overAlgebra valuationSubringAtCenter_eq over_valuationSubringAtPrime
  mem_maximalIdeal_iff_inv_not_mem mem_of_mem_integralClosure toOver coe_toOver
  center mem_center_iff vOf liesOver_maximalIdeal ne_top_of_over
  algebraMap_overAlgebra_injective maximalIdeal_ne_bot isTorsionFree_integralClosure
  isFractionRing_integralClosure isDedekindDomain_integralClosure finite_integralClosure)
section galois
variable {C : Type*} [CommRing C] [IsDomain C] [IsDiscreteValuationRing C]
variable (K : Type*) [Field K] [Algebra C K] [IsFractionRing C K]
variable {M : Type*} [Field M] [Algebra K M] [Algebra C M] [IsScalarTower C K M]
variable [IsFractionRing (integralClosure C M) M] [IsDedekindDomain (integralClosure C M)]
variable [MulSemiringAction (M ≃ₐ[K] M) (integralClosure C M)]
variable [SMulDistribClass (M ≃ₐ[K] M) (integralClosure C M) M]
omit [IsDomain C] [IsDiscreteValuationRing C] [Algebra C K] [IsFractionRing C K] [IsScalarTower C K
  M]
    [IsFractionRing (integralClosure C M) M] [IsDedekindDomain (integralClosure C M)] in
theorem center_smul (V : ValuationSubring M) (h : ∀ c : C, algebraMap C M c ∈ V) (σ : M ≃ₐ[K] M)
    (h' : ∀ c : C, algebraMap C M c ∈ σ • V) :
    center (σ • V) h' = σ • center V h
AlgebraicCurves.Valuations.Proofs.ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg.EmbCountGal.center_congr
Source context 16 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Valuations.Proofs
namespace ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg
namespace EmbCountGal
open IsLocalRing IsDedekindDomain
open scoped Pointwise
open ValuationSubring_isDiscreteValuationRing_of_forall_algebraMap_mem_of_isSeparable.EmbCountDvr
  (Over overAlgebra valuationSubringAtCenter_eq over_valuationSubringAtPrime
  mem_maximalIdeal_iff_inv_not_mem mem_of_mem_integralClosure toOver coe_toOver
  center mem_center_iff vOf liesOver_maximalIdeal ne_top_of_over
  algebraMap_overAlgebra_injective maximalIdeal_ne_bot isTorsionFree_integralClosure
  isFractionRing_integralClosure isDedekindDomain_integralClosure finite_integralClosure)
section galois
variable {C : Type*} [CommRing C] [IsDomain C] [IsDiscreteValuationRing C]
variable (K : Type*) [Field K] [Algebra C K] [IsFractionRing C K]
variable {M : Type*} [Field M] [Algebra K M] [Algebra C M] [IsScalarTower C K M]
variable [IsFractionRing (integralClosure C M) M] [IsDedekindDomain (integralClosure C M)]
variable [MulSemiringAction (M ≃ₐ[K] M) (integralClosure C M)]
variable [SMulDistribClass (M ≃ₐ[K] M) (integralClosure C M) M]
omit [IsDomain C] [IsDiscreteValuationRing C]
    [IsFractionRing (integralClosure C M) M] [IsDedekindDomain (integralClosure C M)] in
theorem center_congr (V₁ V₂ : ValuationSubring M) (h₁ : ∀ c : C, algebraMap C M c ∈ V₁)
    (h₂ : ∀ c : C, algebraMap C M c ∈ V₂) (hV : V₁ = V₂) : center V₁ h₁ = center V₂ h₂
AlgebraicCurves.Valuations.Proofs.ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg.EmbCountGal.exists_smul_eq
Source context 17 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Valuations.Proofs
namespace ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg
namespace EmbCountGal
open IsLocalRing IsDedekindDomain
open scoped Pointwise
open ValuationSubring_isDiscreteValuationRing_of_forall_algebraMap_mem_of_isSeparable.EmbCountDvr
  (Over overAlgebra valuationSubringAtCenter_eq over_valuationSubringAtPrime
  mem_maximalIdeal_iff_inv_not_mem mem_of_mem_integralClosure toOver coe_toOver
  center mem_center_iff vOf liesOver_maximalIdeal ne_top_of_over
  algebraMap_overAlgebra_injective maximalIdeal_ne_bot isTorsionFree_integralClosure
  isFractionRing_integralClosure isDedekindDomain_integralClosure finite_integralClosure)
section galois
variable {C : Type*} [CommRing C] [IsDomain C] [IsDiscreteValuationRing C]
variable (K : Type*) [Field K] [Algebra C K] [IsFractionRing C K]
variable {M : Type*} [Field M] [Algebra K M] [Algebra C M] [IsScalarTower C K M]
variable [IsFractionRing (integralClosure C M) M] [IsDedekindDomain (integralClosure C M)]
variable [MulSemiringAction (M ≃ₐ[K] M) (integralClosure C M)]
variable [SMulDistribClass (M ≃ₐ[K] M) (integralClosure C M) M]
variable [FiniteDimensional K M] [IsGaloisGroup (M ≃ₐ[K] M) C (integralClosure C M)]
include K in
theorem exists_smul_eq (V V' : ValuationSubring M) (h : Over C V) (h' : Over C V') :
    ∃ σ : M ≃ₐ[K] M, σ • V' = V
AlgebraicCurves.Valuations.Proofs.ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg.EmbCountGal.stabilizer_eq
Source context 17 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Valuations.Proofs
namespace ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg
namespace EmbCountGal
open IsLocalRing IsDedekindDomain
open scoped Pointwise
open ValuationSubring_isDiscreteValuationRing_of_forall_algebraMap_mem_of_isSeparable.EmbCountDvr
  (Over overAlgebra valuationSubringAtCenter_eq over_valuationSubringAtPrime
  mem_maximalIdeal_iff_inv_not_mem mem_of_mem_integralClosure toOver coe_toOver
  center mem_center_iff vOf liesOver_maximalIdeal ne_top_of_over
  algebraMap_overAlgebra_injective maximalIdeal_ne_bot isTorsionFree_integralClosure
  isFractionRing_integralClosure isDedekindDomain_integralClosure finite_integralClosure)
section galois
variable {C : Type*} [CommRing C] [IsDomain C] [IsDiscreteValuationRing C]
variable (K : Type*) [Field K] [Algebra C K] [IsFractionRing C K]
variable {M : Type*} [Field M] [Algebra K M] [Algebra C M] [IsScalarTower C K M]
variable [IsFractionRing (integralClosure C M) M] [IsDedekindDomain (integralClosure C M)]
variable [MulSemiringAction (M ≃ₐ[K] M) (integralClosure C M)]
variable [SMulDistribClass (M ≃ₐ[K] M) (integralClosure C M) M]
variable [FiniteDimensional K M] [IsGaloisGroup (M ≃ₐ[K] M) C (integralClosure C M)]
omit [FiniteDimensional K M] [IsGaloisGroup (M ≃ₐ[K] M) C (integralClosure C M)] in
theorem stabilizer_eq (V : ValuationSubring M) (h : Over C V) :
    MulAction.stabilizer (M ≃ₐ[K] M) V =
      MulAction.stabilizer (M ≃ₐ[K] M) (center V h.mem)
AlgebraicCurves.Valuations.Proofs.ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg.EmbCountGal.card_stabilizer
Source context 18 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Valuations.Proofs
namespace ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg
namespace EmbCountGal
open IsLocalRing IsDedekindDomain
open scoped Pointwise
open ValuationSubring_isDiscreteValuationRing_of_forall_algebraMap_mem_of_isSeparable.EmbCountDvr
  (Over overAlgebra valuationSubringAtCenter_eq over_valuationSubringAtPrime
  mem_maximalIdeal_iff_inv_not_mem mem_of_mem_integralClosure toOver coe_toOver
  center mem_center_iff vOf liesOver_maximalIdeal ne_top_of_over
  algebraMap_overAlgebra_injective maximalIdeal_ne_bot isTorsionFree_integralClosure
  isFractionRing_integralClosure isDedekindDomain_integralClosure finite_integralClosure)
section galois
variable {C : Type*} [CommRing C] [IsDomain C] [IsDiscreteValuationRing C]
variable (K : Type*) [Field K] [Algebra C K] [IsFractionRing C K]
variable {M : Type*} [Field M] [Algebra K M] [Algebra C M] [IsScalarTower C K M]
variable [IsFractionRing (integralClosure C M) M] [IsDedekindDomain (integralClosure C M)]
variable [MulSemiringAction (M ≃ₐ[K] M) (integralClosure C M)]
variable [SMulDistribClass (M ≃ₐ[K] M) (integralClosure C M) M]
variable [FiniteDimensional K M] [IsGaloisGroup (M ≃ₐ[K] M) C (integralClosure C M)]
variable [Module.Finite C (integralClosure C M)]
include K in
theorem card_stabilizer (V : ValuationSubring M) (h : Over C V) :
    Nat.card ↥(MulAction.stabilizer (M ≃ₐ[K] M) V) =
      (maximalIdeal C).ramificationIdx' (vOf K V h).asIdeal *
        (vOf K V h).asIdeal.inertiaDeg C
AlgebraicCurves.Valuations.Proofs.ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg.EmbCountGal.ef_congr
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Valuations.Proofs
namespace ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg
namespace EmbCountGal
open IsLocalRing IsDedekindDomain
open scoped Pointwise
open ValuationSubring_isDiscreteValuationRing_of_forall_algebraMap_mem_of_isSeparable.EmbCountDvr
  (Over overAlgebra valuationSubringAtCenter_eq over_valuationSubringAtPrime
  mem_maximalIdeal_iff_inv_not_mem mem_of_mem_integralClosure toOver coe_toOver
  center mem_center_iff vOf liesOver_maximalIdeal ne_top_of_over
  algebraMap_overAlgebra_injective maximalIdeal_ne_bot isTorsionFree_integralClosure
  isFractionRing_integralClosure isDedekindDomain_integralClosure finite_integralClosure)
section assembly
variable {C : Type*} [CommRing C] [IsDomain C] [IsDiscreteValuationRing C]
variable (K : Type*) [Field K] [Algebra C K] [IsFractionRing C K]
variable {M : Type*} [Field M] [Algebra K M] [Algebra C M] [IsScalarTower C K M]
variable [FiniteDimensional K M] [IsGalois K M]
theorem ef_congr (V₁ V₂ : ValuationSubring M) (h₁ : ∀ c : C, algebraMap C M c ∈ V₁)
    (h₂ : ∀ c : C, algebraMap C M c ∈ V₂) (hV : V₁ = V₂) :
    (letI := overAlgebra V₁ h₁
     (maximalIdeal C).ramificationIdx' (maximalIdeal V₁) * (maximalIdeal V₁).inertiaDeg C) =
    (letI := overAlgebra V₂ h₂
     (maximalIdeal C).ramificationIdx' (maximalIdeal V₂) * (maximalIdeal V₂).inertiaDeg C) := by
  subst hV; rfl
AlgebraicCurves.Valuations.Proofs.ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg.EmbCountGal.main
Source context 14 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Valuations.Proofs
namespace ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg
namespace EmbCountGal
open IsLocalRing IsDedekindDomain
open scoped Pointwise
open ValuationSubring_isDiscreteValuationRing_of_forall_algebraMap_mem_of_isSeparable.EmbCountDvr
  (Over overAlgebra valuationSubringAtCenter_eq over_valuationSubringAtPrime
  mem_maximalIdeal_iff_inv_not_mem mem_of_mem_integralClosure toOver coe_toOver
  center mem_center_iff vOf liesOver_maximalIdeal ne_top_of_over
  algebraMap_overAlgebra_injective maximalIdeal_ne_bot isTorsionFree_integralClosure
  isFractionRing_integralClosure isDedekindDomain_integralClosure finite_integralClosure)
section assembly
variable {C : Type*} [CommRing C] [IsDomain C] [IsDiscreteValuationRing C]
variable (K : Type*) [Field K] [Algebra C K] [IsFractionRing C K]
variable {M : Type*} [Field M] [Algebra K M] [Algebra C M] [IsScalarTower C K M]
variable [FiniteDimensional K M] [IsGalois K M]
include K in
theorem main (V : ValuationSubring M) (hCV : ∀ c : C, algebraMap C M c ∈ V)
    (hCVmax : ∀ c : C, algebraMap C M c ∈ V.nonunits ↔ c ∈ maximalIdeal C) :
    (∀ V' : ValuationSubring M, (∀ c : C, algebraMap C M c ∈ V') →
        (∀ c : C, algebraMap C M c ∈ V'.nonunits ↔ c ∈ maximalIdeal C) →
        ∃ g : M ≃ₐ[K] M, g • V' = V) ∧
    Nat.card ↥(V.decompositionSubgroup K) =
      (letI : Algebra C ↥V := ((algebraMap C M).codRestrict V hCV).toAlgebra
       (maximalIdeal C).ramificationIdx' (maximalIdeal ↥V) *
         (maximalIdeal ↥V).inertiaDeg C) := by
  have _ := isFractionRing_integralClosure K (F := M) (C := C)
  have _ := isDedekindDomain_integralClosure K (F := M) (C := C)
  have _ := finite_integralClosure K (F := M) (C := C)
  let _ : MulSemiringAction (M ≃ₐ[K] M) (integralClosure C M) :=
    IsIntegralClosure.MulSemiringAction C K M (integralClosure C M)
  have _ : IsGaloisGroup (M ≃ₐ[K] M) C (integralClosure C M) :=
    IsGaloisGroup.of_isFractionRing _ _ _ K M
  have h : Over C V := ⟨hCV, hCVmax⟩
  refine ⟨fun V' h1 h2 => exists_smul_eq K V V' h ⟨h1, h2⟩, ?_⟩
  change Nat.card ↥(MulAction.stabilizer (M ≃ₐ[K] M) V) = _
  rw [card_stabilizer K V h]
  have hv : ∀ c : C,
      algebraMap C M c ∈ HeightOneSpectrum.valuationSubringAtPrime M (vOf K V h) :=
    (over_valuationSubringAtPrime (vOf K V h)).mem
  rw [← ramificationIdx_mul_inertiaDeg_Wv K (vOf K V h) hv]
  exact ef_congr _ _ _ _ (valuationSubringAtCenter_eq K V h)
ValuationSubring.exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Valuations.Proofs
namespace ValuationSubring_exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg
open IsLocalRing in
open scoped Pointwise in
theorem _root_.ValuationSubring.exists_smul_eq_and_card_stabilizer_eq_ramificationIdx_mul_inertiaDeg
    {C : Type*} [CommRing C] [IsDomain C] [IsDiscreteValuationRing C]
    (K : Type*) [Field K] [Algebra C K] [IsFractionRing C K]
    {M : Type*} [Field M] [Algebra K M] [Algebra C M] [IsScalarTower C K M]
    [FiniteDimensional K M] [IsGalois K M]
    (V : ValuationSubring M) (hCV : ∀ c : C, algebraMap C M c ∈ V)
    (hCVmax : ∀ c : C, algebraMap C M c ∈ V.nonunits ↔ c ∈ maximalIdeal C) :
    (∀ V' : ValuationSubring M, (∀ c : C, algebraMap C M c ∈ V') →
        (∀ c : C, algebraMap C M c ∈ V'.nonunits ↔ c ∈ maximalIdeal C) →
        ∃ g : M ≃ₐ[K] M, g • V' = V) ∧
    Nat.card ↥(V.decompositionSubgroup K) =
      (letI : Algebra C ↥V := ((algebraMap C M).codRestrict V hCV).toAlgebra
       (maximalIdeal C).ramificationIdx' (maximalIdeal ↥V) *
         (maximalIdeal ↥V).inertiaDeg C) :=
  EmbCountGal.main K V hCV hCVmax