Documentation

Mathlib.NumberTheory.RamificationInertia

Ramification index and inertia degree #

Given P : Ideal S lying over p : Ideal R for the ring extension f : R →+* S (assuming P and p are prime or maximal where needed), the ramification index Ideal.ramificationIdx f p P is the multiplicity of P in map f p, and the inertia degree Ideal.inertiaDeg f p P is the degree of the field extension (S / P) : (R / p).

Main results #

The main theorem Ideal.sum_ramification_inertia states that for all coprime P lying over p, Σ P, ramification_idx f p P * inertia_deg f p P equals the degree of the field extension Frac(S) : Frac(R).

Implementation notes #

Often the above theory is set up in the case where:

Notation #

In this file, e stands for the ramification index and f for the inertia degree of P over p, leaving p and P implicit.

noncomputable def Ideal.ramificationIdx {R : Type u} [CommRing R] {S : Type v} [CommRing S] (f : R →+* S) (p : Ideal R) (P : Ideal S) :

The ramification index of P over p is the largest exponent n such that p is contained in P^n.

In particular, if p is not contained in P^n, then the ramification index is 0.

If there is no largest such n (e.g. because p = ⊥), then ramificationIdx is defined to be 0.

Equations
Instances For
    theorem Ideal.ramificationIdx_eq_find {R : Type u} [CommRing R] {S : Type v} [CommRing S] {f : R →+* S} {p : Ideal R} {P : Ideal S} (h : ∃ (n : ), ∀ (k : ), Ideal.map f p P ^ kk n) :
    theorem Ideal.ramificationIdx_eq_zero {R : Type u} [CommRing R] {S : Type v} [CommRing S] {f : R →+* S} {p : Ideal R} {P : Ideal S} (h : ∀ (n : ), ∃ (k : ), Ideal.map f p P ^ k n < k) :
    theorem Ideal.ramificationIdx_spec {R : Type u} [CommRing R] {S : Type v} [CommRing S] {f : R →+* S} {p : Ideal R} {P : Ideal S} {n : } (hle : Ideal.map f p P ^ n) (hgt : ¬Ideal.map f p P ^ (n + 1)) :
    theorem Ideal.ramificationIdx_lt {R : Type u} [CommRing R] {S : Type v} [CommRing S] {f : R →+* S} {p : Ideal R} {P : Ideal S} {n : } (hgt : ¬Ideal.map f p P ^ n) :
    @[simp]
    theorem Ideal.ramificationIdx_bot {R : Type u} [CommRing R] {S : Type v} [CommRing S] {f : R →+* S} {P : Ideal S} :
    @[simp]
    theorem Ideal.ramificationIdx_of_not_le {R : Type u} [CommRing R] {S : Type v} [CommRing S] {f : R →+* S} {p : Ideal R} {P : Ideal S} (h : ¬Ideal.map f p P) :
    theorem Ideal.ramificationIdx_ne_zero {R : Type u} [CommRing R] {S : Type v} [CommRing S] {f : R →+* S} {p : Ideal R} {P : Ideal S} {e : } (he : e 0) (hle : Ideal.map f p P ^ e) (hnle : ¬Ideal.map f p P ^ (e + 1)) :
    theorem Ideal.le_pow_of_le_ramificationIdx {R : Type u} [CommRing R] {S : Type v} [CommRing S] {f : R →+* S} {p : Ideal R} {P : Ideal S} {n : } (hn : n Ideal.ramificationIdx f p P) :
    Ideal.map f p P ^ n
    theorem Ideal.le_pow_ramificationIdx {R : Type u} [CommRing R] {S : Type v} [CommRing S] {f : R →+* S} {p : Ideal R} {P : Ideal S} :
    theorem Ideal.le_comap_pow_ramificationIdx {R : Type u} [CommRing R] {S : Type v} [CommRing S] {f : R →+* S} {p : Ideal R} {P : Ideal S} :
    theorem Ideal.le_comap_of_ramificationIdx_ne_zero {R : Type u} [CommRing R] {S : Type v} [CommRing S] {f : R →+* S} {p : Ideal R} {P : Ideal S} (h : Ideal.ramificationIdx f p P 0) :
    theorem Ideal.IsDedekindDomain.ramificationIdx_ne_zero {R : Type u} [CommRing R] {S : Type v} [CommRing S] {f : R →+* S} {p : Ideal R} {P : Ideal S} [IsDomain S] [IsDedekindDomain S] (hp0 : Ideal.map f p ) (hP : Ideal.IsPrime P) (le : Ideal.map f p P) :
    noncomputable def Ideal.inertiaDeg {R : Type u} [CommRing R] {S : Type v} [CommRing S] (f : R →+* S) (p : Ideal R) (P : Ideal S) [Ideal.IsMaximal p] :

    The inertia degree of P : Ideal S lying over p : Ideal R is the degree of the extension (S / P) : (R / p).

    We do not assume P lies over p in the definition; we return 0 instead.

    See inertiaDeg_algebraMap for the common case where f = algebraMap R S and there is an algebra structure R / p → S / P.

    Equations
    Instances For
      @[simp]
      theorem Ideal.inertiaDeg_of_subsingleton {R : Type u} [CommRing R] {S : Type v} [CommRing S] (f : R →+* S) (p : Ideal R) (P : Ideal S) [hp : Ideal.IsMaximal p] [hQ : Subsingleton (S P)] :
      @[simp]
      theorem Ideal.inertiaDeg_algebraMap {R : Type u} [CommRing R] {S : Type v} [CommRing S] (p : Ideal R) (P : Ideal S) [Algebra R S] [Algebra (R p) (S P)] [IsScalarTower R (R p) (S P)] [hp : Ideal.IsMaximal p] :
      theorem Ideal.FinrankQuotientMap.linearIndependent_of_nontrivial {R : Type u} [CommRing R] {S : Type v} [CommRing S] [Algebra R S] (K : Type u_1) [Field K] [Algebra R K] [hRK : IsFractionRing R K] {V : Type u_3} {V' : Type u_4} {V'' : Type u_5} [AddCommGroup V] [Module R V] [Module K V] [IsScalarTower R K V] [AddCommGroup V'] [Module R V'] [Module S V'] [IsScalarTower R S V'] [AddCommGroup V''] [Module R V''] [IsDomain R] [IsDedekindDomain R] (hRS : RingHom.ker (algebraMap R S) ) (f : V'' →ₗ[R] V) (hf : Function.Injective f) (f' : V'' →ₗ[R] V') {ι : Type u_6} {b : ιV''} (hb' : LinearIndependent S (f' b)) :

      Let V be a vector space over K = Frac(R), S / R a ring extension and V' a module over S. If b, in the intersection V'' of V and V', is linear independent over S in V', then it is linear independent over R in V.

      The statement we prove is actually slightly more general:

      • it suffices that the inclusion algebraMap R S : R → S is nontrivial
      • the function f' : V'' → V' doesn't need to be injective
      theorem Ideal.FinrankQuotientMap.span_eq_top {R : Type u} [CommRing R] {S : Type v} [CommRing S] (p : Ideal R) [Algebra R S] {K : Type u_1} [Field K] [Algebra R K] {L : Type u_2} [Field L] [Algebra S L] [IsFractionRing S L] [IsDomain R] [IsDomain S] [Algebra K L] [IsNoetherian R S] [Algebra R L] [IsScalarTower R S L] [IsScalarTower R K L] [IsIntegralClosure S R L] [NoZeroSMulDivisors R K] (hp : p ) (b : Set S) (hb' : Submodule.span R b Submodule.restrictScalars R (Ideal.map (algebraMap R S) p) = ) :

      If b mod p spans S/p as R/p-space, then b itself spans Frac(S) as K-space.

      Here,

      • p is an ideal of R such that R / p is nontrivial
      • K is a field that has an embedding of R (in particular we can take K = Frac(R))
      • L is a field extension of K
      • S is the integral closure of R in L

      More precisely, we avoid quotients in this statement and instead require that b ∪ pS spans S.

      theorem Ideal.finrank_quotient_map {R : Type u} [CommRing R] {S : Type v} [CommRing S] (p : Ideal R) [Algebra R S] (K : Type u_1) [Field K] [Algebra R K] [hRK : IsFractionRing R K] (L : Type u_2) [Field L] [Algebra S L] [IsFractionRing S L] [IsDomain R] [IsDomain S] [IsDedekindDomain R] [Algebra K L] [Algebra R L] [IsScalarTower R K L] [IsScalarTower R S L] [IsIntegralClosure S R L] [hp : Ideal.IsMaximal p] [IsNoetherian R S] :

      If p is a maximal ideal of R, and S is the integral closure of R in L, then the dimension [S/pS : R/p] is equal to [Frac(S) : Frac(R)].

      noncomputable instance Ideal.Quotient.algebraQuotientPowRamificationIdx {R : Type u} [CommRing R] {S : Type v} [CommRing S] (f : R →+* S) (p : Ideal R) (P : Ideal S) :

      R / p has a canonical map to S / (P ^ e), where e is the ramification index of P over p.

      Equations
      @[simp]
      theorem Ideal.Quotient.algebraMap_quotient_pow_ramificationIdx {R : Type u} [CommRing R] {S : Type v} [CommRing S] (f : R →+* S) (p : Ideal R) (P : Ideal S) (x : R) :
      def Ideal.Quotient.algebraQuotientOfRamificationIdxNeZero {R : Type u} [CommRing R] {S : Type v} [CommRing S] (f : R →+* S) (p : Ideal R) (P : Ideal S) [hfp : NeZero (Ideal.ramificationIdx f p P)] :
      Algebra (R p) (S P)

      If P lies over p, then R / p has a canonical map to S / P.

      This can't be an instance since the map f : R → S is generally not inferrable.

      Equations
      Instances For
        @[simp]
        theorem Ideal.Quotient.algebraMap_quotient_of_ramificationIdx_neZero {R : Type u} [CommRing R] {S : Type v} [CommRing S] (f : R →+* S) (p : Ideal R) (P : Ideal S) [hfp : NeZero (Ideal.ramificationIdx f p P)] (x : R) :
        (algebraMap (R p) (S P)) ((Ideal.Quotient.mk p) x) = (Ideal.Quotient.mk P) (f x)
        @[simp]
        theorem Ideal.powQuotSuccInclusion_apply_coe {R : Type u} [CommRing R] {S : Type v} [CommRing S] (f : R →+* S) (p : Ideal R) (P : Ideal S) (i : ) (x : (Ideal.map (Ideal.Quotient.mk (P ^ Ideal.ramificationIdx f p P)) (P ^ (i + 1)))) :
        ((Ideal.powQuotSuccInclusion f p P i) x) = x
        def Ideal.powQuotSuccInclusion {R : Type u} [CommRing R] {S : Type v} [CommRing S] (f : R →+* S) (p : Ideal R) (P : Ideal S) (i : ) :

        The inclusion (P^(i + 1) / P^e) ⊂ (P^i / P^e).

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem Ideal.powQuotSuccInclusion_injective {R : Type u} [CommRing R] {S : Type v} [CommRing S] (f : R →+* S) (p : Ideal R) (P : Ideal S) (i : ) :
          noncomputable def Ideal.quotientToQuotientRangePowQuotSuccAux {R : Type u} [CommRing R] {S : Type v} [CommRing S] (f : R →+* S) (p : Ideal R) (P : Ideal S) {i : } {a : S} (a_mem : a P ^ i) :

          S ⧸ P embeds into the quotient by P^(i+1) ⧸ P^e as a subspace of P^i ⧸ P^e. See quotientToQuotientRangePowQuotSucc for this as a linear map, and quotientRangePowQuotSuccInclusionEquiv for this as a linear equivalence.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem Ideal.quotientToQuotientRangePowQuotSuccAux_mk {R : Type u} [CommRing R] {S : Type v} [CommRing S] (f : R →+* S) (p : Ideal R) (P : Ideal S) {i : } {a : S} (a_mem : a P ^ i) (x : S) :
            noncomputable def Ideal.quotientToQuotientRangePowQuotSucc {R : Type u} [CommRing R] {S : Type v} [CommRing S] (f : R →+* S) (p : Ideal R) (P : Ideal S) [hfp : NeZero (Ideal.ramificationIdx f p P)] {i : } {a : S} (a_mem : a P ^ i) :

            S ⧸ P embeds into the quotient by P^(i+1) ⧸ P^e as a subspace of P^i ⧸ P^e.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              theorem Ideal.quotientToQuotientRangePowQuotSucc_mk {R : Type u} [CommRing R] {S : Type v} [CommRing S] (f : R →+* S) (p : Ideal R) (P : Ideal S) [hfp : NeZero (Ideal.ramificationIdx f p P)] {i : } {a : S} (a_mem : a P ^ i) (x : S) :
              theorem Ideal.quotientToQuotientRangePowQuotSucc_injective {R : Type u} [CommRing R] {S : Type v} [CommRing S] (f : R →+* S) (p : Ideal R) (P : Ideal S) [hfp : NeZero (Ideal.ramificationIdx f p P)] [IsDomain S] [IsDedekindDomain S] [Ideal.IsPrime P] {i : } (hi : i < Ideal.ramificationIdx f p P) {a : S} (a_mem : a P ^ i) (a_not_mem : aP ^ (i + 1)) :
              theorem Ideal.quotientToQuotientRangePowQuotSucc_surjective {R : Type u} [CommRing R] {S : Type v} [CommRing S] (f : R →+* S) (p : Ideal R) (P : Ideal S) [hfp : NeZero (Ideal.ramificationIdx f p P)] [IsDomain S] [IsDedekindDomain S] (hP0 : P ) [hP : Ideal.IsPrime P] {i : } (hi : i < Ideal.ramificationIdx f p P) {a : S} (a_mem : a P ^ i) (a_not_mem : aP ^ (i + 1)) :
              noncomputable def Ideal.quotientRangePowQuotSuccInclusionEquiv {R : Type u} [CommRing R] {S : Type v} [CommRing S] (f : R →+* S) (p : Ideal R) (P : Ideal S) [hfp : NeZero (Ideal.ramificationIdx f p P)] [IsDomain S] [IsDedekindDomain S] [Ideal.IsPrime P] (hP : P ) {i : } (hi : i < Ideal.ramificationIdx f p P) :

              Quotienting P^i / P^e by its subspace P^(i+1) ⧸ P^e is R ⧸ p-linearly isomorphic to S ⧸ P.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem Ideal.rank_pow_quot_aux {R : Type u} [CommRing R] {S : Type v} [CommRing S] (f : R →+* S) (p : Ideal R) (P : Ideal S) [hfp : NeZero (Ideal.ramificationIdx f p P)] [IsDomain S] [IsDedekindDomain S] [Ideal.IsMaximal p] [Ideal.IsPrime P] (hP0 : P ) {i : } (hi : i < Ideal.ramificationIdx f p P) :

                Since the inclusion (P^(i + 1) / P^e) ⊂ (P^i / P^e) has a kernel isomorphic to P / S, [P^i / P^e : R / p] = [P^(i+1) / P^e : R / p] + [P / S : R / p]

                theorem Ideal.rank_pow_quot {R : Type u} [CommRing R] {S : Type v} [CommRing S] (f : R →+* S) (p : Ideal R) (P : Ideal S) [hfp : NeZero (Ideal.ramificationIdx f p P)] [IsDomain S] [IsDedekindDomain S] [Ideal.IsMaximal p] [Ideal.IsPrime P] (hP0 : P ) (i : ) (hi : i Ideal.ramificationIdx f p P) :
                theorem Ideal.rank_prime_pow_ramificationIdx {R : Type u} [CommRing R] {S : Type v} [CommRing S] (f : R →+* S) (p : Ideal R) (P : Ideal S) [IsDomain S] [IsDedekindDomain S] [Ideal.IsMaximal p] [Ideal.IsPrime P] (hP0 : P ) (he : Ideal.ramificationIdx f p P 0) :

                If p is a maximal ideal of R, S extends R and P^e lies over p, then the dimension [S/(P^e) : R/p] is equal to e * [S/P : R/p].

                If p is a maximal ideal of R, S extends R and P^e lies over p, then the dimension [S/(P^e) : R/p], as a natural number, is equal to e * [S/P : R/p].

                Properties of the factors of p.map (algebraMap R S) #

                Equations
                instance Ideal.Factors.isScalarTower {R : Type u} [CommRing R] {S : Type v} [CommRing S] (p : Ideal R) [IsDomain S] [IsDedekindDomain S] [Algebra R S] (P : { x : Ideal S // x Multiset.toFinset (UniqueFactorizationMonoid.factors (Ideal.map (algebraMap R S) p)) }) :
                IsScalarTower R (R p) (S P)
                Equations
                Equations
                noncomputable def Ideal.Factors.piQuotientEquiv {R : Type u} [CommRing R] {S : Type v} [CommRing S] [IsDomain S] [IsDedekindDomain S] [Algebra R S] (p : Ideal R) (hp : Ideal.map (algebraMap R S) p ) :

                Chinese remainder theorem for a ring of integers: if the prime ideal p : Ideal R factors in S as ∏ i, P i ^ e i, then S ⧸ I factors as Π i, R ⧸ (P i ^ e i).

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  @[simp]
                  theorem Ideal.Factors.piQuotientEquiv_map {R : Type u} [CommRing R] {S : Type v} [CommRing S] [IsDomain S] [IsDedekindDomain S] [Algebra R S] (p : Ideal R) (hp : Ideal.map (algebraMap R S) p ) (x : R) :
                  noncomputable def Ideal.Factors.piQuotientLinearEquiv {R : Type u} [CommRing R] (S : Type v) [CommRing S] [IsDomain S] [IsDedekindDomain S] [Algebra R S] (p : Ideal R) (hp : Ideal.map (algebraMap R S) p ) :

                  Chinese remainder theorem for a ring of integers: if the prime ideal p : Ideal R factors in S as ∏ i, P i ^ e i, then S ⧸ I factors R ⧸ I-linearly as Π i, R ⧸ (P i ^ e i).

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For

                    The fundamental identity of ramification index e and inertia degree f: for P ranging over the primes lying over p, ∑ P, e P * f P = [Frac(S) : Frac(R)]; here S is a finite R-module (and thus Frac(S) : Frac(R) is a finite extension) and p is maximal.