The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V10. Commutative algebra II: valuations, Dedekind domains, local algebra

Mathlib.RingTheory.Etale.QuasiFinite

10 declarations. Mathlib docs · Source

Etale local structure of finite maps

We construct etale neighborhoods that split fibers of finite algebras.

Main results

  • Algebra.exists_etale_isIdempotentElem_forall_liesOver_eq: Let S be a module-finite R-algebra, and q a prime lying over p. We may construct an etale R-algebra R' and a prime P lying over p with κ(P) = κ(p), such that R' ⊗[R] S = A × B and there exists a unique prime in A lying over P. This prime will also lie over q.

theorem Ideal.fiberIsoOfBijectiveResidueField.congr_simp E1 #

∀ {R : Type u_1} {R' : Type u_2} {S : Type u_3} [inst : CommRing R] [inst_1 : CommRing R'] [inst_2 : CommRing S]
  [inst_3 : Algebra R R'] [inst_4 : Algebra R S] {p : Ideal R} {q : Ideal R'} [inst_5 : p.IsPrime] [inst_6 : q.IsPrime]
  [inst_7 : q.LiesOver p] (H : Function.Bijective ⇑(Ideal.ResidueField.mapₐ p q (Algebra.ofId R R') ⋯)),
  Ideal.fiberIsoOfBijectiveResidueField H = Ideal.fiberIsoOfBijectiveResidueField H

def Ideal.fiberIsoOfBijectiveResidueField E1 #

{R : Type u_1} →
  {R' : Type u_2} →
    {S : Type u_3} →
      [inst : CommRing R] →
        [inst_1 : CommRing R'] →
          [inst_2 : CommRing S] →
            [inst_3 : Algebra R R'] →
              [inst_4 : Algebra R S] →
                {p : Ideal R} →
                  {q : Ideal R'} →
                    [inst_5 : p.IsPrime] →
                      [inst_6 : q.IsPrime] →
                        [inst_7 : q.LiesOver p] →
                          Function.Bijective ⇑(Ideal.ResidueField.mapₐ p q (Algebra.ofId R R') ⋯) →
                            ↑(q.primesOver (TensorProduct R R' S)) ≃o ↑(p.primesOver S)

If q is a prime of R' lying over p, a prime of R, such that κ(q) = κ(p), then the fiber of R' → R' ⊗[R] S over q is in bijection with the fiber of R → S over p.

theorem Ideal.comap_fiberIsoOfBijectiveResidueField_symm E1 #

∀ {R : Type u_1} {R' : Type u_2} {S : Type u_3} [inst : CommRing R] [inst_1 : CommRing R'] [inst_2 : CommRing S]
  [inst_3 : Algebra R R'] [inst_4 : Algebra R S] {p : Ideal R} {q : Ideal R'} [inst_5 : p.IsPrime] [inst_6 : q.IsPrime]
  [inst_7 : q.LiesOver p] (H : Function.Bijective ⇑(Ideal.ResidueField.mapₐ p q (Algebra.ofId R R') ⋯))
  (Q : ↑(p.primesOver S)),
  Ideal.comap ↑Algebra.TensorProduct.includeRight ↑((Ideal.fiberIsoOfBijectiveResidueField H).symm Q) = ↑Q

theorem Ideal.comap_fiberIsoOfBijectiveResidueField_apply E0 #

∀ {R : Type u_1} {R' : Type u_2} {S : Type u_3} [inst : CommRing R] [inst_1 : CommRing R'] [inst_2 : CommRing S]
  [inst_3 : Algebra R R'] [inst_4 : Algebra R S] {p : Ideal R} {q : Ideal R'} [inst_5 : p.IsPrime] [inst_6 : q.IsPrime]
  [inst_7 : q.LiesOver p] (H : Function.Bijective ⇑(Ideal.ResidueField.mapₐ p q (Algebra.ofId R R') ⋯))
  (Q : ↑(q.primesOver (TensorProduct R R' S))),
  ↑((Ideal.fiberIsoOfBijectiveResidueField H) Q) = Ideal.comap Algebra.TensorProduct.includeRight ↑Q

theorem Localization.exists_finite_awayMapₐ_of_surjective_awayMapₐ E1 #

∀ {R : Type u} {S : Type v} {T : Type u_1} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing T]
  [inst_3 : Algebra R S] [inst_4 : Algebra R T] [Algebra.FiniteType R T] [Algebra.IsIntegral R S] (f : S →ₐ[R] T)
  (g : S),
  Function.Surjective ⇑(Localization.awayMapₐ f g) →
    ∀ (p : Ideal R) [inst_7 : p.IsPrime],
      IsUnit (1 ⊗ₜ[R] g) → ∃ r ∉ p, (Localization.awayMapₐ (Algebra.ofId R T) r).Finite

Suppose f : S →ₐ[R] T is an R-algebra homomorphism with S integral and T of finite type, such that the induced map S[1/g] → T[1/g] is surjective for some g : S. Then for any prime p of R such that 1 ⊗ₜ g is invertible in κ(p) ⊗ S, there exists r ∉ p such that T[1/r] is finite over R[1/r].

theorem Algebra.exists_notMem_and_isIntegral_forall_mem_of_ne_of_liesOver E1 #

∀ {R : Type u_2} {S : Type u_3} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] (p : Ideal R)
  [p.IsPrime] (q : Ideal S) [inst_4 : q.IsPrime] [q.LiesOver p] [Algebra.FiniteType R S] [Algebra.QuasiFiniteAt R q],
  ∃ s ∉ q,
    ∃ (hs : IsIntegral R s),
      (∀ (q' : Ideal S), q'.IsPrime → q' ≠ q → q'.LiesOver p → s ∈ q') ∧
        ∀ (q' : Ideal ↥(integralClosure R S)),
          q'.IsPrime → q' ≠ Ideal.under (↥(integralClosure R S)) q → q'.LiesOver p → ⟨s, hs⟩ ∈ q'

A variant of Ideal.exists_notMem_forall_mem_of_ne_of_liesOver that also gives you control on the primes in the integral closure.

theorem Algebra.exists_etale_isIdempotentElem_forall_liesOver_eq_aux E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [Algebra.FiniteType R S]
  (p : Ideal R) [inst_4 : p.IsPrime] (q : Ideal S) [inst_5 : q.IsPrime] [q.LiesOver p] [Algebra.QuasiFiniteAt R q],
  ∃ R' x x_1,
    ∃ (_ : Algebra.Etale R R'),
      ∃ P,
        ∃ (x_3 : P.IsPrime) (x_4 : P.LiesOver p),
          ∃ e,
            ∃ (_ : IsIdempotentElem e),
              ∃ e₀,
                ∃ (_ : IsIdempotentElem e₀) (_ :
                  (Algebra.TensorProduct.map (AlgHom.id R' R') (integralClosure R S).val) e₀ = e),
                  ∃ P',
                    ∃ (_ : P'.IsPrime) (_ : P'.LiesOver P),
                      Ideal.comap Algebra.TensorProduct.includeRight.toRingHom P' = q ∧
                        e ∉ P' ∧
                          Function.Bijective ⇑(Ideal.ResidueField.mapₐ p P (Algebra.ofId R R') ⋯) ∧
                            (∀ (P'' : Ideal (TensorProduct R R' ↥(integralClosure R S))),
                                P''.IsPrime →
                                  P''.LiesOver P →
                                    e₀ ∉ P'' →
                                      P'' =
                                        Ideal.comap
                                          (Algebra.TensorProduct.map (AlgHom.id R' R')
                                              (integralClosure R S).val).toRingHom
                                          P') ∧
                              ∀ (P'' : Ideal (TensorProduct R R' S)), P''.IsPrime → P''.LiesOver P → e ∉ P'' → P'' = P'

theorem Algebra.exists_etale_isIdempotentElem_forall_liesOver_eq_aux₂ E1 #

∀ {R : Type u_2} {S : Type u_3} {R' : Type u_4} {R'' : Type u_5} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [Algebra.FiniteType R S] [inst_4 : CommRing R'] [inst_5 : Algebra R R'] [inst_6 : CommRing R'']
  [inst_7 : Algebra R R''] [inst_8 : Algebra R'' S] [Algebra.IsIntegral R R''] [inst_10 : IsScalarTower R R'' S]
  (q : Ideal S) (P : Ideal R') [P.IsPrime] (e : TensorProduct R R' S) (e₀ : TensorProduct R R' R''),
  IsIdempotentElem e₀ →
    (Algebra.TensorProduct.map (AlgHom.id R' R') (IsScalarTower.toAlgHom R R'' S)) e₀ = e →
      ∀ (P' : Ideal (TensorProduct R R' S)),
        Ideal.comap Algebra.TensorProduct.includeRight.toRingHom P' = q →
          (∀ (P'' : Ideal (TensorProduct R R' R'')),
              P''.IsPrime →
                P''.LiesOver P →
                  e₀ ∉ P'' →
                    P'' =
                      Ideal.comap
                        (Algebra.TensorProduct.map (AlgHom.id R' R') (IsScalarTower.toAlgHom R R'' S)).toRingHom P') →
            ∀ (g : R''),
              (algebraMap R'' S) g ∉ q →
                Function.Surjective ⇑(Localization.awayMap (algebraMap R'' S) g) →
                  ∃ f ∉ P,
                    Module.Finite (Localization.Away f)
                      (Localization.Away
                        ((Algebra.TensorProduct.map (Algebra.ofId R' (Localization.Away f)) (AlgHom.id R S)) e))

theorem Algebra.exists_etale_isIdempotentElem_forall_liesOver_eq E3 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [Algebra.FiniteType R S]
  (p : Ideal R) [inst_4 : p.IsPrime] (q : Ideal S) [inst_5 : q.IsPrime] [q.LiesOver p] [Algebra.QuasiFiniteAt R q],
  ∃ R' x x_1,
    ∃ (_ : Algebra.Etale R R'),
      ∃ P,
        ∃ (x_3 : P.IsPrime) (x_4 : P.LiesOver p),
          ∃ e,
            ∃ (_ : IsIdempotentElem e),
              ∃ P',
                ∃ (_ : P'.IsPrime) (_ : P'.LiesOver P),
                  Ideal.comap Algebra.TensorProduct.includeRight.toRingHom P' = q ∧
                    e ∉ P' ∧
                      Function.Bijective ⇑(Ideal.ResidueField.mapₐ p P (Algebra.ofId R R') ⋯) ∧
                        Module.Finite R' (Localization.Away e) ∧
                          ∀ (P'' : Ideal (TensorProduct R R' S)), P''.IsPrime → P''.LiesOver P → e ∉ P'' → P'' = P'

Let S be a finite type R-algebra, and q a prime lying over p such that S is quasi-finite at q. We may construct an etale R-algebra R' and a prime P lying over p with κ(P) = κ(p), such that R' ⊗[R] S = A × B, A is finite as an R'-module, and there exists a unique prime in A lying over P. This prime will also lie over q.

The actual lemma is stated in terms of the idempotent element e = (1, 0).

theorem Algebra.exists_etale_completeOrthogonalIdempotents_forall_liesOver_eq E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [Module.Finite R S]
  (p : Ideal R) [inst_4 : p.IsPrime],
  ∃ R' x x_1,
    ∃ (_ : Algebra.Etale R R'),
      ∃ P,
        ∃ (x_3 : P.IsPrime) (x_4 : P.LiesOver p),
          ∃ n e,
            ∃ (_ : CompleteOrthogonalIdempotents e),
              ∃ P',
                ∃ (_ : ∀ (i : Fin n), (P' i).IsPrime) (_ : ∀ (i : Fin n), (P' i).LiesOver P),
                  Function.Bijective ⇑(Ideal.ResidueField.mapₐ p P (Algebra.ofId R R') ⋯) ∧
                    (∀ (i : Fin n), e i.castSucc ∉ P' i) ∧
                      ∀ (P'' : Ideal (TensorProduct R R' S)),
                        P''.IsPrime →
                          P''.LiesOver P → e (Fin.last n) ∈ P'' ∧ ∀ (i : Fin n), e i.castSucc ∉ P'' → P'' = P' i

If S is finite over R, and p is a prime of R, then there exists an étale neighborhood (R', P) of p with κ(p) = κ(P) such that R' ⊗[R] S ≃ₐ[R'] R₁ × ... × Rₙ × A, each Rᵢ has a unique prime Pᵢ lying over P, and no other prime in R' ⊗[R] S lies over P.

This is merely an iterated application of exists_etale_isIdempotentElem_forall_liesOver_eq. This is weaker than the corresponding statement of stacks project (in particular we asked for Module.Finite instead of quasi finite when localized at p, so that we don't need to keep track of this when passing to quotients and tensor products), and the only reason is that the corresponding stronger statement is even harder to state and even more annoying to prove.