doc-next-gen

Mathlib.RingTheory.Adjoin.FG

Module docstring

{"# Adjoining elements to form subalgebras

This file develops the basic theory of finitely-generated subalgebras.

Definitions

  • FG (S : Subalgebra R A) : A predicate saying that the subalgebra is finitely-generated as an A-algebra

Tags

adjoin, algebra, finitely-generated algebra

"}

Algebra.fg_trans theorem
(h1 : (adjoin R s).toSubmodule.FG) (h2 : (adjoin (adjoin R s) t).toSubmodule.FG) : (adjoin R (s ∪ t)).toSubmodule.FG
Full source
theorem fg_trans (h1 : (adjoin R s).toSubmodule.FG) (h2 : (adjoin (adjoin R s) t).toSubmodule.FG) :
    (adjoin R (s ∪ t)).toSubmodule.FG := by
  rcases fg_def.1 h1 with ⟨p, hp, hp'⟩
  rcases fg_def.1 h2 with ⟨q, hq, hq'⟩
  refine fg_def.2 ⟨p * q, hp.mul hq, le_antisymm ?_ ?_⟩
  · rw [span_le, Set.mul_subset_iff]
    intro x hx y hy
    change x * y ∈ adjoin R (s ∪ t)
    refine Subalgebra.mul_mem _ ?_ ?_
    · have : x ∈ Subalgebra.toSubmodule (adjoin R s) := by
        rw [← hp']
        exact subset_span hx
      exact adjoin_mono Set.subset_union_left this
    have : y ∈ Subalgebra.toSubmodule (adjoin (adjoin R s) t) := by
      rw [← hq']
      exact subset_span hy
    change y ∈ adjoin R (s ∪ t)
    rwa [adjoin_union_eq_adjoin_adjoin]
  · intro r hr
    change r ∈ adjoin R (s ∪ t) at hr
    rw [adjoin_union_eq_adjoin_adjoin] at hr
    change r ∈ Subalgebra.toSubmodule (adjoin (adjoin R s) t) at hr
    rw [← hq', ← Set.image_id q, Finsupp.mem_span_image_iff_linearCombination (adjoin R s)] at hr
    rcases hr with ⟨l, hlq, rfl⟩
    have := @Finsupp.linearCombination_apply A A (adjoin R s)
    rw [this, Finsupp.sum]
    refine sum_mem ?_
    intro z hz
    change (l z).1 * _ ∈ _
    have : (l z).1 ∈ Subalgebra.toSubmodule (adjoin R s) := (l z).2
    rw [← hp', ← Set.image_id p, Finsupp.mem_span_image_iff_linearCombination R] at this
    rcases this with ⟨l2, hlp, hl⟩
    have := @Finsupp.linearCombination_apply A A R
    rw [this] at hl
    rw [← hl, Finsupp.sum_mul]
    refine sum_mem ?_
    intro t ht
    change _ * _ ∈ _
    rw [smul_mul_assoc]
    refine smul_mem _ _ ?_
    exact subset_span ⟨t, hlp ht, z, hlq hz, rfl⟩
Transitivity of Finite Generation for Adjoined Subalgebras
Informal description
Let $R$ be a commutative ring and $A$ an $R$-algebra. Given subsets $s, t \subseteq A$, if the $R$-submodule generated by the subalgebra $\text{adjoin}_R s$ is finitely generated, and the $\text{adjoin}_R s$-submodule generated by the subalgebra $\text{adjoin}_{\text{adjoin}_R s} t$ is finitely generated, then the $R$-submodule generated by the subalgebra $\text{adjoin}_R (s \cup t)$ is also finitely generated.
Subalgebra.FG definition
(S : Subalgebra R A) : Prop
Full source
/-- A subalgebra `S` is finitely generated if there exists `t : Finset A` such that
`Algebra.adjoin R t = S`. -/
def FG (S : Subalgebra R A) : Prop :=
  ∃ t : Finset A, Algebra.adjoin R ↑t = S
Finitely generated subalgebra
Informal description
A subalgebra \( S \) of an \( R \)-algebra \( A \) is finitely generated if there exists a finite subset \( t \) of \( A \) such that the algebra generated by \( t \) over \( R \) equals \( S \). In other words, \( S \) is the smallest subalgebra of \( A \) containing \( t \) and closed under the operations of \( A \).
Subalgebra.fg_adjoin_finset theorem
(s : Finset A) : (Algebra.adjoin R (↑s : Set A)).FG
Full source
theorem fg_adjoin_finset (s : Finset A) : (Algebra.adjoin R (↑s : Set A)).FG :=
  ⟨s, rfl⟩
Finite generation of subalgebra from finite set
Informal description
For any finite subset $s$ of an $R$-algebra $A$, the subalgebra generated by $s$ over $R$ is finitely generated.
Subalgebra.fg_def theorem
{S : Subalgebra R A} : S.FG ↔ ∃ t : Set A, Set.Finite t ∧ Algebra.adjoin R t = S
Full source
theorem fg_def {S : Subalgebra R A} : S.FG ↔ ∃ t : Set A, Set.Finite t ∧ Algebra.adjoin R t = S :=
  Iff.symm Set.exists_finite_iff_finset
Characterization of Finitely Generated Subalgebras
Informal description
A subalgebra $S$ of an $R$-algebra $A$ is finitely generated if and only if there exists a finite subset $t \subseteq A$ such that the algebra generated by $t$ over $R$ equals $S$.
Subalgebra.fg_of_fg_toSubmodule theorem
{S : Subalgebra R A} : S.toSubmodule.FG → S.FG
Full source
theorem fg_of_fg_toSubmodule {S : Subalgebra R A} : S.toSubmodule.FG → S.FG :=
  fun ⟨t, ht⟩ ↦ ⟨t, le_antisymm
    (Algebra.adjoin_le fun x hx ↦ show x ∈ Subalgebra.toSubmodule S from ht ▸ subset_span hx) <|
    show Subalgebra.toSubmodule S ≤ Subalgebra.toSubmodule (Algebra.adjoin R ↑t) from fun x hx ↦
      span_le.mpr (fun _ hx ↦ Algebra.subset_adjoin hx)
        (show x ∈ span R ↑t by
          rw [ht]
          exact hx)⟩
Finitely Generated Submodule Implies Finitely Generated Subalgebra
Informal description
For any subalgebra $S$ of an $R$-algebra $A$, if the underlying submodule of $S$ is finitely generated, then $S$ itself is finitely generated as a subalgebra.
Subalgebra.fg_of_submodule_fg theorem
(h : (⊤ : Submodule R A).FG) : (⊤ : Subalgebra R A).FG
Full source
theorem fg_of_submodule_fg (h : ( : Submodule R A).FG) : ( : Subalgebra R A).FG :=
  let ⟨s, hs⟩ := h
  ⟨s, toSubmodule.injective <| by
    rw [Algebra.top_toSubmodule, eq_top_iff, ← hs, span_le]
    exact Algebra.subset_adjoin⟩
Finitely Generated Top Subalgebra from Finitely Generated Top Submodule
Informal description
If the top submodule of an $R$-algebra $A$ is finitely generated as an $R$-module, then the top subalgebra of $A$ is finitely generated as an $R$-algebra.
Subalgebra.FG.prod theorem
{S : Subalgebra R A} {T : Subalgebra R B} (hS : S.FG) (hT : T.FG) : (S.prod T).FG
Full source
theorem FG.prod {S : Subalgebra R A} {T : Subalgebra R B} (hS : S.FG) (hT : T.FG) :
    (S.prod T).FG := by
  obtain ⟨s, hs⟩ := fg_def.1 hS
  obtain ⟨t, ht⟩ := fg_def.1 hT
  rw [← hs.2, ← ht.2]
  exact fg_def.2 ⟨LinearMap.inl R A B '' (s ∪ {1}) ∪ LinearMap.inr R A B '' (t ∪ {1}),
    Set.Finite.union (Set.Finite.image _ (Set.Finite.union hs.1 (Set.finite_singleton _)))
      (Set.Finite.image _ (Set.Finite.union ht.1 (Set.finite_singleton _))),
    Algebra.adjoin_inl_union_inr_eq_prod R s t⟩
Product of Finitely Generated Subalgebras is Finitely Generated
Informal description
Let $R$ be a commutative ring, and let $A$ and $B$ be $R$-algebras. For any finitely generated $R$-subalgebras $S \subseteq A$ and $T \subseteq B$, their product subalgebra $S \times T \subseteq A \times B$ is also finitely generated.
Subalgebra.FG.map theorem
{S : Subalgebra R A} (f : A →ₐ[R] B) (hs : S.FG) : (S.map f).FG
Full source
theorem FG.map {S : Subalgebra R A} (f : A →ₐ[R] B) (hs : S.FG) : (S.map f).FG := by
  let ⟨s, hs⟩ := hs
  classical
  exact ⟨s.image f, by rw [Finset.coe_image, Algebra.adjoin_image, hs]⟩
Image of a Finitely Generated Subalgebra under an Algebra Homomorphism is Finitely Generated
Informal description
Let $S$ be a finitely generated subalgebra of an $R$-algebra $A$, and let $f : A \to B$ be an $R$-algebra homomorphism. Then the image of $S$ under $f$ is also a finitely generated subalgebra of $B$.
Subalgebra.fg_of_fg_map theorem
(S : Subalgebra R A) (f : A →ₐ[R] B) (hf : Function.Injective f) (hs : (S.map f).FG) : S.FG
Full source
theorem fg_of_fg_map (S : Subalgebra R A) (f : A →ₐ[R] B) (hf : Function.Injective f)
    (hs : (S.map f).FG) : S.FG :=
  let ⟨s, hs⟩ := hs
  ⟨s.preimage f fun _ _ _ _ h ↦ hf h,
    map_injective hf <| by
      rw [← Algebra.adjoin_image, Finset.coe_preimage, Set.image_preimage_eq_of_subset, hs]
      rw [← AlgHom.coe_range, ← Algebra.adjoin_le_iff, hs, ← Algebra.map_top]
      exact map_mono le_top⟩
Finitely Generated Subalgebra via Injective Homomorphism Image
Informal description
Let $S$ be a subalgebra of an $R$-algebra $A$, and let $f : A \to B$ be an injective $R$-algebra homomorphism. If the image of $S$ under $f$ is a finitely generated subalgebra of $B$, then $S$ itself is finitely generated.
Subalgebra.fg_top theorem
(S : Subalgebra R A) : (⊤ : Subalgebra R S).FG ↔ S.FG
Full source
theorem fg_top (S : Subalgebra R A) : (⊤ : Subalgebra R S).FG ↔ S.FG :=
  ⟨fun h ↦ by
    rw [← S.range_val, ← Algebra.map_top]
    exact FG.map _ h, fun h ↦
    fg_of_fg_map _ S.val Subtype.val_injective <| by
      rw [Algebra.map_top, range_val]
      exact h⟩
Finitely Generated Top Subalgebra Equivalence
Informal description
For any subalgebra $S$ of an $R$-algebra $A$, the top subalgebra of $S$ (i.e., $S$ itself viewed as a subalgebra) is finitely generated if and only if $S$ is finitely generated as an $R$-algebra.
Subalgebra.induction_on_adjoin theorem
[IsNoetherian R A] (P : Subalgebra R A → Prop) (base : P ⊥) (ih : ∀ (S : Subalgebra R A) (x : A), P S → P (Algebra.adjoin R (insert x S))) (S : Subalgebra R A) : P S
Full source
theorem induction_on_adjoin [IsNoetherian R A] (P : Subalgebra R A → Prop) (base : P )
    (ih : ∀ (S : Subalgebra R A) (x : A), P S → P (Algebra.adjoin R (insert x S)))
    (S : Subalgebra R A) : P S := by
  classical
  obtain ⟨t, rfl⟩ := S.fg_of_noetherian
  refine Finset.induction_on t ?_ ?_
  · simpa using base
  intro x t _ h
  rw [Finset.coe_insert]
  simpa only [Algebra.adjoin_insert_adjoin] using ih _ x h
Induction Principle for Subalgebras via Adjoining Elements in Noetherian Algebras
Informal description
Let $R$ be a commutative ring and $A$ a Noetherian $R$-algebra. For any predicate $P$ on subalgebras of $A$ over $R$, if $P$ holds for the trivial subalgebra $\bot$ and for any subalgebra $S$ and element $x \in A$, $P(S)$ implies $P(\text{Algebra.adjoin}_R (S \cup \{x\}))$, then $P$ holds for every subalgebra $S$ of $A$.
AlgHom.isNoetherianRing_range instance
(f : A →ₐ[R] B) [IsNoetherianRing A] : IsNoetherianRing f.range
Full source
/-- The image of a Noetherian R-algebra under an R-algebra map is a Noetherian ring. -/
instance AlgHom.isNoetherianRing_range (f : A →ₐ[R] B) [IsNoetherianRing A] :
    IsNoetherianRing f.range :=
  _root_.isNoetherianRing_range f.toRingHom
Noetherian Property of Algebra Homomorphism Images
Informal description
For any $R$-algebra homomorphism $f: A \to B$ between $R$-algebras, if $A$ is a Noetherian ring, then the image of $f$ is also a Noetherian ring.
isNoetherianRing_of_fg theorem
{S : Subalgebra R A} (HS : S.FG) [IsNoetherianRing R] : IsNoetherianRing S
Full source
theorem isNoetherianRing_of_fg {S : Subalgebra R A} (HS : S.FG) [IsNoetherianRing R] :
    IsNoetherianRing S :=
  let ⟨t, ht⟩ := HS
  ht ▸ (Algebra.adjoin_eq_range R (↑t : Set A)).symmAlgHom.isNoetherianRing_range _
Finitely generated subalgebras over Noetherian rings are Noetherian
Informal description
Let $R$ be a Noetherian ring and $A$ an $R$-algebra. If a subalgebra $S$ of $A$ is finitely generated as an $R$-algebra, then $S$ is a Noetherian ring.
is_noetherian_subring_closure theorem
(s : Set R) (hs : s.Finite) : IsNoetherianRing (Subring.closure s)
Full source
theorem is_noetherian_subring_closure (s : Set R) (hs : s.Finite) :
    IsNoetherianRing (Subring.closure s) :=
  show IsNoetherianRing (subalgebraOfSubring (Subring.closure s)) from
    Algebra.adjoin_int s ▸ isNoetherianRing_of_fg (Subalgebra.fg_def.2 ⟨s, hs, rfl⟩)
Finite Subring Generation Preserves Noetherian Property
Informal description
For any finite subset $s$ of a ring $R$, the subring generated by $s$ is Noetherian.