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.Smooth.StandardSmoothCotangent

38 declarations and 1 deprecated aliases. Mathlib docs · Source

Cotangent complex of a submersive presentation

Let P be a submersive presentation of S as an R-algebra and denote by I the kernel R[X] → S. We show

  • SubmersivePresentation.free_cotangent: I ⧸ I ^ 2 is S-free on the classes of P.relation i.
  • SubmersivePresentation.subsingleton_h1Cotangent: H¹(L_{S/R}) = 0.
  • SubmersivePresentation.free_kaehlerDifferential: Ω[S⁄R] is S-free on the images of dxᵢ where i ∉ Set.range P.map.
  • SubmersivePresentation.rank_kaehlerDifferential: If S is non-trivial, the rank of Ω[S⁄R] is the dimension of P.

We also provide the corresponding instances for standard smooth algebras as corollaries.

We keep the notation I = ker(R[X] → S) in all docstrings of this file.

theorem Algebra.PreSubmersivePresentation.cotangentComplexAux.congr_simp E1 #

∀ {R : Type u_1} {S : Type u_2} {ι : Type u_3} {σ : Type u_4} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [inst_3 : Finite σ] (P : Algebra.PreSubmersivePresentation R S ι σ),
  P.cotangentComplexAux = P.cotangentComplexAux

theorem Algebra.SubmersivePresentation.basisKaehlerOfIsCompl.congr_simp E1 #

∀ {R : Type u_1} {S : Type u_2} {ι : Type u_3} {σ : Type u_4} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [inst_3 : Finite σ] (P P_1 : Algebra.SubmersivePresentation R S ι σ) (e_P : P = P_1)
  {κ : Type u_5} {f f_1 : κ → ι} (e_f : f = f_1) (hf : Function.Injective f)
  (hcompl : IsCompl (Set.range f) (Set.range P.map)), P.basisKaehlerOfIsCompl hf hcompl = P_1.basisKaehlerOfIsCompl ⋯ ⋯

theorem Module.Basis.ofSplitExact.congr_simp E1 #

∀ {R : Type u_1} {M : Type u_2} {K : Type u_3} {P : Type u_4} [inst : Ring R] [inst_1 : AddCommGroup M]
  [inst_2 : AddCommGroup K] [inst_3 : AddCommGroup P] [inst_4 : Module R M] [inst_5 : Module R K] [inst_6 : Module R P]
  {f f_1 : K →ₗ[R] M} (e_f : f = f_1) {g g_1 : M →ₗ[R] P} (e_g : g = g_1) {s s_1 : M →ₗ[R] K} (e_s : s = s_1)
  (hs : s ∘ₗ f = LinearMap.id) (hfg : Function.Exact ⇑f ⇑g) {ι : Type u_5} {κ : Type u_6} {σ : Type u_7} {a a_1 : κ → ι}
  (e_a : a = a_1) {b b_1 : σ → ι} (e_b : b = b_1) (hg : Function.Surjective ⇑g) (v v_1 : Module.Basis ι R M)
  (e_v : v = v_1) (hainj : Function.Injective a) (hsa : ∀ (i : κ), s (v (a i)) = 0)
  (hlib : LinearIndependent R (⇑s ∘ ⇑v ∘ b)) (hab : Codisjoint (Set.range a) (Set.range b)),
  Module.Basis.ofSplitExact hs hfg hg v hainj hsa hlib hab = Module.Basis.ofSplitExact ⋯ ⋯ ⋯ v_1 ⋯ ⋯ ⋯ ⋯

def Algebra.PreSubmersivePresentation.cotangentComplexAux E0 #

{R : Type u_1} →
  {S : Type u_2} →
    {ι : Type u_3} →
      {σ : Type u_4} →
        [inst : CommRing R] →
          [inst_1 : CommRing S] →
            [inst_2 : Algebra R S] →
              [Finite σ] → (P : Algebra.PreSubmersivePresentation R S ι σ) → P.toExtension.Cotangent →ₗ[S] σ → S

Given a pre-submersive presentation, this is the composition I ⧸ I ^ 2 → ⊕ S dxᵢ → ⊕ S dxᵢ where the second direct sum runs over all i : σ induced by the injection P.map : σ → ι.

If P is submersive, this is an isomorphism. See SubmersivePresentation.cotangentEquiv.

theorem Algebra.PreSubmersivePresentation.cotangentComplexAux_apply E0 #

∀ {R : Type u_1} {S : Type u_2} {ι : Type u_3} {σ : Type u_4} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [inst_3 : Finite σ] (P : Algebra.PreSubmersivePresentation R S ι σ) (x : ↥P.ker) (i : σ),
  P.cotangentComplexAux (Algebra.Extension.Cotangent.mk x) i =
    (MvPolynomial.aeval P.val) ((MvPolynomial.pderiv (P.map i)) ↑x)

theorem Algebra.PreSubmersivePresentation.cotangentComplexAux_zero_iff E0 #

∀ {R : Type u_1} {S : Type u_2} {ι : Type u_3} {σ : Type u_4} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [inst_3 : Finite σ] {P : Algebra.PreSubmersivePresentation R S ι σ} (x : ↥P.ker),
  P.cotangentComplexAux (Algebra.Extension.Cotangent.mk x) = 0 ↔
    ∀ (i : σ), (MvPolynomial.aeval P.val) ((MvPolynomial.pderiv (P.map i)) ↑x) = 0

theorem Algebra.SubmersivePresentation.cotangentComplexAux_injective E1 #

∀ {R : Type u_1} {S : Type u_2} {ι : Type u_3} {σ : Type u_4} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [inst_3 : Finite σ] (P : Algebra.SubmersivePresentation R S ι σ),
  Function.Injective ⇑P.cotangentComplexAux

theorem Algebra.SubmersivePresentation.cotangentComplexAux_surjective E1 #

∀ {R : Type u_1} {S : Type u_2} {ι : Type u_3} {σ : Type u_4} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [inst_3 : Finite σ] (P : Algebra.SubmersivePresentation R S ι σ),
  Function.Surjective ⇑P.cotangentComplexAux

def Algebra.SubmersivePresentation.cotangentEquiv E1 #

{R : Type u_1} →
  {S : Type u_2} →
    {ι : Type u_3} →
      {σ : Type u_4} →
        [inst : CommRing R] →
          [inst_1 : CommRing S] →
            [inst_2 : Algebra R S] →
              [inst_3 : Finite σ] → (P : Algebra.SubmersivePresentation R S ι σ) → P.toExtension.Cotangent ≃ₗ[S] σ → S

The isomorphism of S-modules between I ⧸ I ^ 2 and σ → S given by P.relation i ↦ ∂ⱼ (P.relation i).

theorem Algebra.SubmersivePresentation.cotangentEquiv_apply E0 #

∀ {R : Type u_1} {S : Type u_2} {ι : Type u_3} {σ : Type u_4} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [inst_3 : Finite σ] (P : Algebra.SubmersivePresentation R S ι σ) (x : P.toExtension.Cotangent)
  (a : σ), P.cotangentEquiv x a = P.cotangentComplexAux x a

theorem Algebra.SubmersivePresentation.cotangentComplex_injective E1 #

∀ {R : Type u_1} {S : Type u_2} {ι : Type u_3} {σ : Type u_4} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [inst_3 : Finite σ] (P : Algebra.SubmersivePresentation R S ι σ),
  Function.Injective ⇑P.toExtension.cotangentComplex

instance Algebra.SubmersivePresentation.subsingleton_h1Cotangent E0 #

∀ {R : Type u_1} {S : Type u_2} {ι : Type u_3} {σ : Type u_4} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [inst_3 : Finite σ] (P : Algebra.SubmersivePresentation R S ι σ),
  Subsingleton P.toExtension.H1Cotangent

If P is a submersive presentation, H¹ of the associated cotangent complex vanishes.

def Algebra.SubmersivePresentation.basisCotangent E1 #

{R : Type u_1} →
  {S : Type u_2} →
    {ι : Type u_3} →
      {σ : Type u_4} →
        [inst : CommRing R] →
          [inst_1 : CommRing S] →
            [inst_2 : Algebra R S] →
              [inst_3 : Finite σ] →
                (P : Algebra.SubmersivePresentation R S ι σ) → Module.Basis σ S P.toExtension.Cotangent

The classes of P.relation i form a basis of I ⧸ I ^ 2.

theorem Algebra.SubmersivePresentation.basisCotangent_apply E0 #

∀ {R : Type u_1} {S : Type u_2} {ι : Type u_3} {σ : Type u_4} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [inst_3 : Finite σ] (P : Algebra.SubmersivePresentation R S ι σ) (r : σ),
  P.basisCotangent r = Algebra.Extension.Cotangent.mk ⟨P.relation r, ⋯⟩

instance Algebra.SubmersivePresentation.free_cotangent E0 #

∀ {R : Type u_1} {S : Type u_2} {ι : Type u_3} {σ : Type u_4} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [inst_3 : Finite σ] (P : Algebra.SubmersivePresentation R S ι σ),
  Module.Free S P.toExtension.Cotangent

def Algebra.SubmersivePresentation.sectionCotangent E1 #

{R : Type u_1} →
  {S : Type u_2} →
    {ι : Type u_3} →
      {σ : Type u_4} →
        [inst : CommRing R] →
          [inst_1 : CommRing S] →
            [inst_2 : Algebra R S] →
              [inst_3 : Finite σ] →
                (P : Algebra.SubmersivePresentation R S ι σ) →
                  P.toExtension.CotangentSpace →ₗ[S] P.toExtension.Cotangent

If P is a submersive presentation, this is the section of the map I ⧸ I ^ 2 → ⊕ S dxᵢ given by projecting to the summands indexed by σ and composing with the inverse of P.cotangentEquiv.

By SubmersivePresentation.sectionCotangent_comp this is indeed a section.

theorem Algebra.SubmersivePresentation.sectionCotangent_eq_iff E0 #

∀ {R : Type u_1} {S : Type u_2} {ι : Type u_3} {σ : Type u_4} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [inst_3 : Finite σ] (P : Algebra.SubmersivePresentation R S ι σ)
  (x : P.toExtension.CotangentSpace) (y : P.toExtension.Cotangent),
  P.sectionCotangent x = y ↔ ∀ (i : σ), (P.cotangentSpaceBasis.repr x) (P.map i) = P.cotangentComplexAux y i

theorem Algebra.SubmersivePresentation.sectionCotangent_comp E1 #

∀ {R : Type u_1} {S : Type u_2} {ι : Type u_3} {σ : Type u_4} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [inst_3 : Finite σ] (P : Algebra.SubmersivePresentation R S ι σ),
  P.sectionCotangent ∘ₗ P.toExtension.cotangentComplex = LinearMap.id

theorem Algebra.SubmersivePresentation.sectionCotangent_zero_of_notMem_range E1 #

∀ {R : Type u_1} {S : Type u_2} {ι : Type u_3} {σ : Type u_4} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [inst_3 : Finite σ] (P : Algebra.SubmersivePresentation R S ι σ),
  ∀ i ∉ Set.range P.map, P.sectionCotangent (P.cotangentSpaceBasis i) = 0

def Algebra.SubmersivePresentation.basisKaehlerOfIsCompl E1 #

{R : Type u_1} →
  {S : Type u_2} →
    {ι : Type u_3} →
      {σ : Type u_4} →
        [inst : CommRing R] →
          [inst_1 : CommRing S] →
            [inst_2 : Algebra R S] →
              [inst_3 : Finite σ] →
                (P : Algebra.SubmersivePresentation R S ι σ) →
                  {κ : Type u_5} →
                    {f : κ → ι} →
                      Function.Injective f → IsCompl (Set.range f) (Set.range P.map) → Module.Basis κ S Ω[S⁄R]

Given a submersive presentation of S as R-algebra, any indexing type κ complementary to the σ in ι indexes a basis of Ω[S⁄R]. See SubmersivePresentation.basisKaehler for the special case κ = (Set.range P.map)ᶜ.

theorem Algebra.SubmersivePresentation.basisKaehlerOfIsCompl_apply E0 #

∀ {R : Type u_1} {S : Type u_2} {ι : Type u_3} {σ : Type u_4} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [inst_3 : Finite σ] (P : Algebra.SubmersivePresentation R S ι σ) {κ : Type u_5} {f : κ → ι}
  (hf : Function.Injective f) (hcompl : IsCompl (Set.range f) (Set.range P.map)) (k : κ),
  (P.basisKaehlerOfIsCompl hf hcompl) k = (KaehlerDifferential.D R S) (P.val (f k))

def Algebra.SubmersivePresentation.basisKaehler E1 #

{R : Type u_1} →
  {S : Type u_2} →
    {ι : Type u_3} →
      {σ : Type u_4} →
        [inst : CommRing R] →
          [inst_1 : CommRing S] →
            [inst_2 : Algebra R S] →
              [inst_3 : Finite σ] →
                (P : Algebra.SubmersivePresentation R S ι σ) → Module.Basis (↑(Set.range P.map)ᶜ) S Ω[S⁄R]

Given a submersive presentation of S as R-algebra, the images of dxᵢ for i in the complement of σ in ι form a basis of Ω[S⁄R].

theorem Algebra.SubmersivePresentation.basisKaehler_apply E0 #

∀ {R : Type u_1} {S : Type u_2} {ι : Type u_3} {σ : Type u_4} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [inst_3 : Finite σ] (P : Algebra.SubmersivePresentation R S ι σ) (k : ↑(Set.range P.map)ᶜ),
  P.basisKaehler k = (KaehlerDifferential.D R S) (P.val ↑k)

theorem Algebra.SubmersivePresentation.free_kaehlerDifferential E1 #

∀ {R : Type u_1} {S : Type u_2} {ι : Type u_3} {σ : Type u_4} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [inst_3 : Finite σ] (P : Algebra.SubmersivePresentation R S ι σ), Module.Free S Ω[S⁄R]

If P is a submersive presentation of S as an R-algebra, Ω[S⁄R] is free.

theorem Algebra.SubmersivePresentation.rank_kaehlerDifferential E1 #

∀ {R : Type u_1} {S : Type u_2} {ι : Type u_3} {σ : Type u_4} [inst : CommRing R] [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [inst_3 : Finite σ] [Nontrivial S] [Finite ι] (P : Algebra.SubmersivePresentation R S ι σ),
  Module.rank S Ω[S⁄R] = ↑P.dimension

If P is a submersive presentation of S as an R-algebra and S is nontrivial, Ω[S⁄R] is free of rank the dimension of P, i.e. the number of generators minus the number of relations.

instance Algebra.instFreeCotangentToExtensionUnitLocalizationAway E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] (r : R)
  [inst_3 : IsLocalization.Away r S], Module.Free S (Algebra.Generators.localizationAway S r).toExtension.Cotangent

abbrev Algebra.Generators.cMulXSubOneCotangent E1 #

{R : Type u_1} →
  (S : Type u_2) →
    [inst : CommRing R] →
      [inst_1 : CommRing S] →
        [inst_2 : Algebra R S] →
          (r : R) → [inst_3 : IsLocalization.Away r S] → (Algebra.Generators.localizationAway S r).toExtension.Cotangent

The image of g * X - 1 in I/I² if I is the kernel of the canonical presentation of the localization of S away from g.

theorem Algebra.Generators.cMulXSubOneCotangent_eq E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] (r : R)
  [inst_3 : IsLocalization.Away r S],
  Algebra.Generators.cMulXSubOneCotangent S r =
    Algebra.Extension.Cotangent.mk ⟨MvPolynomial.C r * MvPolynomial.X () - 1, ⋯⟩

theorem Algebra.SubmersivePresentation.basisCotangent_localizationAway_apply E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] (r : R)
  [inst_3 : IsLocalization.Away r S] (x : Unit),
  (Algebra.SubmersivePresentation.localizationAway S r).basisCotangent x = Algebra.Generators.cMulXSubOneCotangent S r

def Algebra.Generators.basisCotangentAway E1 #

{R : Type u_1} →
  (S : Type u_2) →
    [inst : CommRing R] →
      [inst_1 : CommRing S] →
        [inst_2 : Algebra R S] →
          (r : R) →
            [inst_3 : IsLocalization.Away r S] →
              Module.Basis Unit S (Algebra.Generators.localizationAway S r).toExtension.Cotangent

The basis of (g * X - 1) / (g * X - 1)² given by the image of g * X - 1.

This is def-eq to (SubmersivePresentation.localizationAway T g).basisCotangent, but

(SubmersivePresentation.localizationAway T g).toExtension =
  (Generators.localizationAway T g).toExtension

is not reducibly def-eq. Hence using the general SubmersivePresentation.basisCotangent leads to erw hell.

theorem Algebra.Generators.basisCotangentAway_apply E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] (r : R)
  [inst_3 : IsLocalization.Away r S] (x : Unit),
  (Algebra.Generators.basisCotangentAway S r) x = Algebra.Generators.cMulXSubOneCotangent S r

instance Algebra.IsStandardSmooth.free_kaehlerDifferential E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [Algebra.IsStandardSmooth R S], Module.Free S Ω[S⁄R]

If S is R-standard smooth, Ω[S⁄R] is a free S-module.

instance Algebra.IsStandardSmooth.subsingleton_h1Cotangent E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [Algebra.IsStandardSmooth R S], Subsingleton (Algebra.H1Cotangent R S)

theorem Algebra.IsStandardSmoothOfRelativeDimension.rank_kaehlerDifferential E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [Nontrivial S] (n : ℕ)
  [Algebra.IsStandardSmoothOfRelativeDimension n R S], Module.rank S Ω[S⁄R] = ↑n

If S is non-trivial and R-standard smooth of relative dimension, Ω[S⁄R] is a free S-module of rank n.

theorem Algebra.IsStandardSmoothOfRelativeDimension.iff_of_isStandardSmooth E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [Nontrivial S]
  [Algebra.IsStandardSmooth R S] (n : ℕ), Algebra.IsStandardSmoothOfRelativeDimension n R S ↔ Module.rank S Ω[S⁄R] = ↑n

instance Algebra.IsStandardSmoothOfRelativeDimension.subsingleton_kaehlerDifferential E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [Algebra.IsStandardSmoothOfRelativeDimension 0 R S], Subsingleton Ω[S⁄R]

instance Algebra.instSmoothOfIsStandardSmooth E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [Algebra.IsStandardSmooth R S], Algebra.Smooth R S

instance Algebra.instEtaleOfIsStandardSmoothOfRelativeDimensionOfNatNat E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [Algebra.IsStandardSmoothOfRelativeDimension 0 R S], Algebra.Etale R S

If S is R-standard smooth of relative dimension zero, it is étale.

Deprecated aliases

NameNew nameSince
Algebra.IsStandardSmoothOfRelationDimension.subsingleton_kaehlerDifferentialAlgebra.IsStandardSmoothOfRelativeDimension.subsingleton_kaehlerDifferential2026-05-22