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 / V09. Commutative algebra I: ideals, polynomials, factorization

Mathlib.RingTheory.IsAdjoinRoot

126 declarations. Mathlib docs · Source

A predicate on adjoining roots of polynomial

This file defines a predicate IsAdjoinRoot S f, which states that the ring S can be constructed by adjoining a specified root of the polynomial f : R[X] to R. This predicate is useful when the same ring can be generated by adjoining the root of different polynomials, and you want to vary which polynomial you're considering.

The results in this file are intended to mirror those in Mathlib/RingTheory/AdjoinRoot.lean, in order to provide an easier way to translate results from one to the other.

Motivation

AdjoinRoot presents one construction of a ring R[α]. However, it is possible to obtain rings of this form in many ways, such as NumberField.ringOfIntegers ℚ(√-5), or Algebra.adjoin R {α, α^2}, or IntermediateField.adjoin R {α, 2 - α}, or even if we want to view ℂ as adjoining a root of X^2 + 1 to ℝ.

Main definitions

The two main predicates in this file are:

  • IsAdjoinRoot S f: S is generated by adjoining a specified root of f : R[X] to R
  • IsAdjoinRootMonic S f: S is generated by adjoining a root of the monic polynomial f : R[X] to R

Using IsAdjoinRoot to map into S:

  • IsAdjoinRoot.map: inclusion from R[X] to S
  • IsAdjoinRoot.root: the specific root adjoined to R to give S

Using IsAdjoinRoot to map out of S:

  • IsAdjoinRoot.repr: choose a non-unique representative in R[X]
  • IsAdjoinRoot.lift, IsAdjoinRoot.liftHom: lift a morphism R →+* T to S →+* T
  • IsAdjoinRootMonic.modByMonicHom: a unique representative in R[X] if f is monic

Main results

  • AdjoinRoot.isAdjoinRoot and AdjoinRoot.isAdjoinRootMonic: AdjoinRoot satisfies the conditions on IsAdjoinRoot(Monic)
  • IsAdjoinRootMonic.powerBasis: the root generates a power basis on S over R
  • IsAdjoinRoot.algEquiv: algebra isomorphism showing adjoining a root gives a unique ring up to isomorphism
  • IsAdjoinRoot.ofAlgEquiv: transfer IsAdjoinRoot across an algebra isomorphism
  • IsAdjoinRootMonic.minpoly_eq: the minimal polynomial of the adjoined root of f is equal to f, if f is irreducible and monic, and R is a GCD domain

theorem IsAdjoinRoot.mk.injEq E0 #

∀ {R : Type u} {S : Type v} [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : Algebra R S] {f : Polynomial R}
  (map : Polynomial R →ₐ[R] S) (map_surjective : Function.Surjective ⇑map) (ker_map : RingHom.ker map = Ideal.span {f})
  (map_1 : Polynomial R →ₐ[R] S) (map_surjective_1 : Function.Surjective ⇑map_1)
  (ker_map_1 : RingHom.ker map_1 = Ideal.span {f}),
  ({ map := map, map_surjective := map_surjective, ker_map := ker_map } =
      { map := map_1, map_surjective := map_surjective_1, ker_map := ker_map_1 }) =
    (map = map_1)

theorem IsAdjoinRoot.mk.congr_simp E1 #

∀ {R : Type u} {S : Type v} [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : Algebra R S] {f : Polynomial R}
  (map map_1 : Polynomial R →ₐ[R] S) (e_map : map = map_1) (map_surjective : Function.Surjective ⇑map)
  (ker_map : RingHom.ker map = Ideal.span {f}),
  { map := map, map_surjective := map_surjective, ker_map := ker_map } =
    { map := map_1, map_surjective := ⋯, ker_map := ⋯ }

theorem IsAdjoinRootMonic.mk.inj E1 #

∀ {R : Type u} {S : Type v} {inst : CommSemiring R} {inst_1 : Semiring S} {inst_2 : Algebra R S} {f : Polynomial R}
  {toIsAdjoinRoot : IsAdjoinRoot S f} {monic : f.Monic} {toIsAdjoinRoot_1 : IsAdjoinRoot S f} {monic_1 : f.Monic},
  { toIsAdjoinRoot := toIsAdjoinRoot, monic := monic } = { toIsAdjoinRoot := toIsAdjoinRoot_1, monic := monic_1 } →
    toIsAdjoinRoot = toIsAdjoinRoot_1

def IsAdjoinRootMonic.ctorIdx E1 #

{R : Type u} →
  {S : Type v} →
    {inst : CommSemiring R} →
      {inst_1 : Semiring S} → {inst_2 : Algebra R S} → {f : Polynomial R} → IsAdjoinRootMonic S f → ℕ

def IsAdjoinRoot.ctorIdx E1 #

{R : Type u} →
  {S : Type v} →
    {inst : CommSemiring R} → {inst_1 : Semiring S} → {inst_2 : Algebra R S} → {f : Polynomial R} → IsAdjoinRoot S f → ℕ

theorem IsAdjoinRoot.mkOfAdjoinEqTop.congr_simp E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [inst_3 : IsDomain R]
  [inst_4 : IsDomain S] [inst_5 : Module.IsTorsionFree R S] [inst_6 : IsIntegrallyClosed R] {α : S}
  (hα : IsIntegral R α) (hα₂ : R[α] = ⊤), IsAdjoinRoot.mkOfAdjoinEqTop hα hα₂ = IsAdjoinRoot.mkOfAdjoinEqTop hα hα₂

theorem IsAdjoinRoot.lift.congr_simp E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h h_1 : IsAdjoinRoot S f),
  h = h_1 →
    ∀ {T : Type u_1} [inst_3 : CommRing T] (i i_1 : R →+* T) (e_i : i = i_1) (x x_1 : T) (e_x : x = x_1)
      (hx : Polynomial.eval₂ i x f = 0), h.lift i x hx = h_1.lift i_1 x_1 ⋯

theorem IsAdjoinRootMonic.mkOfAdjoinEqTop'.congr_simp E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [inst_3 : Module.Finite R S] [inst_4 : Module.Free R S] {α : S} (hα : R[α] = ⊤),
  IsAdjoinRootMonic.mkOfAdjoinEqTop' hα = IsAdjoinRootMonic.mkOfAdjoinEqTop' hα

theorem IsAdjoinRootMonic.mk.injEq E0 #

∀ {R : Type u} {S : Type v} [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : Algebra R S] {f : Polynomial R}
  (toIsAdjoinRoot : IsAdjoinRoot S f) (monic : f.Monic) (toIsAdjoinRoot_1 : IsAdjoinRoot S f) (monic_1 : f.Monic),
  ({ toIsAdjoinRoot := toIsAdjoinRoot, monic := monic } = { toIsAdjoinRoot := toIsAdjoinRoot_1, monic := monic_1 }) =
    (toIsAdjoinRoot = toIsAdjoinRoot_1)

theorem IsAdjoinRoot.mk.inj E1 #

∀ {R : Type u} {S : Type v} {inst : CommSemiring R} {inst_1 : Semiring S} {inst_2 : Algebra R S} {f : Polynomial R}
  {map : Polynomial R →ₐ[R] S} {map_surjective : Function.Surjective ⇑map} {ker_map : RingHom.ker map = Ideal.span {f}}
  {map_1 : Polynomial R →ₐ[R] S} {map_surjective_1 : Function.Surjective ⇑map_1}
  {ker_map_1 : RingHom.ker map_1 = Ideal.span {f}},
  { map := map, map_surjective := map_surjective, ker_map := ker_map } =
      { map := map_1, map_surjective := map_surjective_1, ker_map := ker_map_1 } →
    map = map_1

structure IsAdjoinRoot E3 #

{R : Type u} →
  (S : Type v) → [inst : CommSemiring R] → [inst_1 : Semiring S] → [Algebra R S] → Polynomial R → Type (max u v)

IsAdjoinRoot S f states that the ring S can be constructed by adjoining a specified root of the polynomial f : R[X] to R.

Compare PowerBasis R S, which does not explicitly specify which polynomial we adjoin a root of (in particular f does not need to be the minimal polynomial of the root we adjoin), and AdjoinRoot which constructs a new type.

This is not a typeclass because the choice of root given S and f is not unique.

ctor IsAdjoinRoot.mk E0 #

{R : Type u} →
  {S : Type v} →
    [inst : CommSemiring R] →
      [inst_1 : Semiring S] →
        [inst_2 : Algebra R S] →
          {f : Polynomial R} →
            (map : Polynomial R →ₐ[R] S) →
              Function.Surjective ⇑map → RingHom.ker map = Ideal.span {f} → IsAdjoinRoot S f

abbrev IsAdjoinRoot.map E3 #

{R : Type u} →
  {S : Type v} →
    [inst : CommSemiring R] →
      [inst_1 : Semiring S] → [inst_2 : Algebra R S] → {f : Polynomial R} → IsAdjoinRoot S f → Polynomial R →ₐ[R] S

theorem IsAdjoinRoot.map_surjective E0 #

∀ {R : Type u} {S : Type v} [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : Algebra R S] {f : Polynomial R}
  (self : IsAdjoinRoot S f), Function.Surjective ⇑self.map

theorem IsAdjoinRoot.ker_map E1 #

∀ {R : Type u} {S : Type v} [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : Algebra R S] {f : Polynomial R}
  (self : IsAdjoinRoot S f), RingHom.ker self.map = Ideal.span {f}

structure IsAdjoinRootMonic E1 #

{R : Type u} →
  (S : Type v) → [inst : CommSemiring R] → [inst_1 : Semiring S] → [Algebra R S] → Polynomial R → Type (max u v)

IsAdjoinRootMonic S f states that the ring S can be constructed by adjoining a specified root of the monic polynomial f : R[X] to R.

As long as f is monic, there is a well-defined representation of elements of S as polynomials in R[X] of degree lower than deg f (see modByMonicHom and coeff). In particular, we have IsAdjoinRootMonic.powerBasis.

Bundling Monic into this structure is very useful when working with explicit fs such as X^2 - C a * X - C b since it saves you carrying around the proofs of monicity.

abbrev IsAdjoinRootMonic.toIsAdjoinRoot E1 #

{R : Type u} →
  {S : Type v} →
    [inst : CommSemiring R] →
      [inst_1 : Semiring S] → [inst_2 : Algebra R S] → {f : Polynomial R} → IsAdjoinRootMonic S f → IsAdjoinRoot S f

ctor IsAdjoinRootMonic.mk E0 #

{R : Type u} →
  {S : Type v} →
    [inst : CommSemiring R] →
      [inst_1 : Semiring S] →
        [inst_2 : Algebra R S] → {f : Polynomial R} → IsAdjoinRoot S f → f.Monic → IsAdjoinRootMonic S f

theorem IsAdjoinRootMonic.monic E1 #

∀ {R : Type u} {S : Type v} [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : Algebra R S] {f : Polynomial R}
  (self : IsAdjoinRootMonic S f), f.Monic

def IsAdjoinRoot.root E3 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] → [inst_1 : Ring S] → {f : Polynomial R} → [inst_2 : Algebra R S] → IsAdjoinRoot S f → S

(h : IsAdjoinRoot S f).root is the root of f that can be adjoined to generate S.

theorem IsAdjoinRoot.algebraMap_apply E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) (x : R), (algebraMap R S) x = h.map (Polynomial.C x)

theorem IsAdjoinRoot.mem_ker_map E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {p : Polynomial R}, p ∈ RingHom.ker h.map ↔ f ∣ p

theorem IsAdjoinRoot.map_eq_zero_iff E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {p : Polynomial R}, h.map p = 0 ↔ f ∣ p

theorem IsAdjoinRoot.map_X E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f), h.map Polynomial.X = h.root

theorem IsAdjoinRoot.map_self E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f), h.map f = 0

theorem IsAdjoinRoot.aeval_root_eq_map E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f), Polynomial.aeval h.root = h.map

theorem IsAdjoinRoot.aeval_root_self E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f), (Polynomial.aeval h.root) f = 0

theorem IsAdjoinRoot.adjoin_root_eq_top E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f), R[h.root] = ⊤

theorem IsAdjoinRoot.ext_map E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h h' : IsAdjoinRoot S f), (∀ (x : Polynomial R), h.map x = h'.map x) → h = h'

Extensionality of the IsAdjoinRoot structure itself. See IsAdjoinRootMonic.ext_elem for extensionality of the ring elements.

theorem IsAdjoinRoot.ext E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h h' : IsAdjoinRoot S f), h.root = h'.root → h = h'

Extensionality of the IsAdjoinRoot structure itself. See IsAdjoinRootMonic.ext_elem for extensionality of the ring elements.

theorem IsAdjoinRoot.ext_iff E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  {h h' : IsAdjoinRoot S f}, h = h' ↔ h.root = h'.root

def IsAdjoinRoot.repr E3 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : Ring S] → {f : Polynomial R} → [inst_2 : Algebra R S] → IsAdjoinRoot S f → S → Polynomial R

Choose an arbitrary representative so that h.map (h.repr x) = x.

If f is monic, use IsAdjoinRootMonic.modByMonicHom for a unique choice of representative.

theorem IsAdjoinRoot.map_repr E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) (x : S), h.map (h.repr x) = x

theorem IsAdjoinRoot.repr_zero_mem_span E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f), h.repr 0 ∈ Ideal.span {f}

repr preserves zero, up to multiples of f

theorem IsAdjoinRoot.repr_add_sub_repr_add_repr_mem_span E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) (x y : S), h.repr (x + y) - (h.repr x + h.repr y) ∈ Ideal.span {f}

repr preserves addition, up to multiples of f

def IsAdjoinRoot.adjoinRootAlgEquiv E1 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : Ring S] → {f : Polynomial R} → [inst_2 : Algebra R S] → IsAdjoinRoot S f → AdjoinRoot f ≃ₐ[R] S

Algebra isomorphism with R[X]/(f).

theorem IsAdjoinRoot.adjoinRootAlgEquiv_apply_mk E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) (g : Polynomial R), h.adjoinRootAlgEquiv ((AdjoinRoot.mk f) g) = h.map g

theorem IsAdjoinRoot.adjoinRootAlgEquiv_apply_eq_map E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) (a : AdjoinRoot f), h.adjoinRootAlgEquiv a = h.map ⋯.choose

theorem IsAdjoinRoot.adjoinRootAlgEquiv_symm_apply_eq_mk E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) (a : S), h.adjoinRootAlgEquiv.symm a = (AdjoinRoot.mk f) (h.repr a)

theorem IsAdjoinRoot.adjoinRootAlgEquiv_apply_root E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f), h.adjoinRootAlgEquiv (AdjoinRoot.root f) = h.root

theorem IsAdjoinRoot.adjoinRootAlgEquiv_symm_apply_root E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f), h.adjoinRootAlgEquiv.symm h.root = AdjoinRoot.root f

def IsAdjoinRoot.algEquiv E3 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : Ring S] →
        {f : Polynomial R} →
          [inst_2 : Algebra R S] →
            IsAdjoinRoot S f →
              {T : Type u_1} → [inst_3 : Ring T] → [inst_4 : Algebra R T] → IsAdjoinRoot T f → S ≃ₐ[R] T

Adjoining a root gives a unique algebra up to isomorphism.

This is the converse of IsAdjoinRoot.ofAlgEquiv: this turns an IsAdjoinRoot into an AlgEquiv, and IsAdjoinRoot.ofAlgEquiv turns an AlgEquiv into an IsAdjoinRoot.

theorem IsAdjoinRoot.algEquiv_def E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : Ring T] [inst_4 : Algebra R T] (h' : IsAdjoinRoot T f),
  h.algEquiv h' = h.adjoinRootAlgEquiv.symm.trans h'.adjoinRootAlgEquiv

theorem IsAdjoinRoot.algEquiv_root E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : Ring T] [inst_4 : Algebra R T] (h' : IsAdjoinRoot T f),
  (h.algEquiv h') h.root = h'.root

theorem IsAdjoinRoot.algEquiv_map E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : Ring T] [inst_4 : Algebra R T] (h' : IsAdjoinRoot T f),
  (↑(h.algEquiv h')).comp h.map = h'.map

theorem IsAdjoinRoot.algEquiv_apply_map E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : Ring T] [inst_4 : Algebra R T] (h' : IsAdjoinRoot T f)
  (z : Polynomial R), (h.algEquiv h') (h.map z) = h'.map z

theorem IsAdjoinRoot.algEquiv_self E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f), h.algEquiv h = AlgEquiv.refl

theorem IsAdjoinRoot.algEquiv_symm E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : Ring T] [inst_4 : Algebra R T] (h' : IsAdjoinRoot T f),
  (h.algEquiv h').symm = h'.algEquiv h

theorem IsAdjoinRoot.algEquiv_algEquiv E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : Ring T] [inst_4 : Algebra R T] (h' : IsAdjoinRoot T f) {U : Type u_2}
  [inst_5 : Ring U] [inst_6 : Algebra R U] (h'' : IsAdjoinRoot U f) (x : S),
  (h'.algEquiv h'') ((h.algEquiv h') x) = (h.algEquiv h'') x

theorem IsAdjoinRoot.algEquiv_trans E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : Ring T] [inst_4 : Algebra R T] (h' : IsAdjoinRoot T f) {U : Type u_2}
  [inst_5 : Ring U] [inst_6 : Algebra R U] (h'' : IsAdjoinRoot U f),
  (h.algEquiv h').trans (h'.algEquiv h'') = h.algEquiv h''

def IsAdjoinRoot.ofAlgEquiv E3 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : Ring S] →
        {f : Polynomial R} →
          [inst_2 : Algebra R S] →
            IsAdjoinRoot S f →
              {T : Type u_1} → [inst_3 : Ring T] → [inst_4 : Algebra R T] → (S ≃ₐ[R] T) → IsAdjoinRoot T f

Transfer IsAdjoinRoot across an algebra isomorphism.

This is the converse of IsAdjoinRoot.algEquiv: this turns an AlgEquiv into an IsAdjoinRoot, and IsAdjoinRoot.algEquiv turns an IsAdjoinRoot into an AlgEquiv.

theorem IsAdjoinRoot.ofAlgEquiv_map_apply E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : Ring T] [inst_4 : Algebra R T] (e : S ≃ₐ[R] T) (x : Polynomial R),
  (h.ofAlgEquiv e).map x = e (h.map x)

theorem IsAdjoinRoot.ofAlgEquiv_root E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : Ring T] [inst_4 : Algebra R T] (e : S ≃ₐ[R] T),
  (h.ofAlgEquiv e).root = e h.root

theorem IsAdjoinRoot.algEquiv_ofAlgEquiv E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : Ring T] [inst_4 : Algebra R T] (h' : IsAdjoinRoot T f) {U : Type u_2}
  [inst_5 : Ring U] [inst_6 : Algebra R U] (e : T ≃ₐ[R] U), h.algEquiv (h'.ofAlgEquiv e) = (h.algEquiv h').trans e

theorem IsAdjoinRoot.ofAlgEquiv_algEquiv E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : Ring T] [inst_4 : Algebra R T] {U : Type u_2} [inst_5 : Ring U]
  [inst_6 : Algebra R U] (h'' : IsAdjoinRoot U f) (e : S ≃ₐ[R] T),
  (h.ofAlgEquiv e).algEquiv h'' = e.symm.trans (h.algEquiv h'')

theorem IsAdjoinRoot.eval₂_repr_eq_eval₂_of_map_eq E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : CommRing T] {i : R →+* T} {x : T},
  Polynomial.eval₂ i x f = 0 →
    ∀ (z : S) (w : Polynomial R), h.map w = z → Polynomial.eval₂ i x (h.repr z) = Polynomial.eval₂ i x w

Auxiliary lemma for IsAdjoinRoot.lift

def IsAdjoinRoot.lift E3 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : Ring S] →
        {f : Polynomial R} →
          [inst_2 : Algebra R S] →
            IsAdjoinRoot S f →
              {T : Type u_1} → [inst_3 : CommRing T] → (i : R →+* T) → (x : T) → Polynomial.eval₂ i x f = 0 → S →+* T

Lift a ring homomorphism R →+* T to S →+* T by specifying a root x of f in T, where S is given by adjoining a root of f to R.

theorem IsAdjoinRoot.lift_map E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : CommRing T] {i : R →+* T} {x : T} (hx : Polynomial.eval₂ i x f = 0)
  (z : Polynomial R), (h.lift i x hx) (h.map z) = Polynomial.eval₂ i x z

theorem IsAdjoinRoot.lift_root E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : CommRing T] {i : R →+* T} {x : T} (hx : Polynomial.eval₂ i x f = 0),
  (h.lift i x hx) h.root = x

theorem IsAdjoinRoot.lift_algebraMap E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : CommRing T] {i : R →+* T} {x : T} (hx : Polynomial.eval₂ i x f = 0)
  (a : R), (h.lift i x hx) ((algebraMap R S) a) = i a

theorem IsAdjoinRoot.apply_eq_lift E2 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : CommRing T] {i : R →+* T} {x : T} (hx : Polynomial.eval₂ i x f = 0)
  (g : S →+* T), (∀ (a : R), g ((algebraMap R S) a) = i a) → g h.root = x → ∀ (a : S), g a = (h.lift i x hx) a

Auxiliary lemma for apply_eq_lift

def IsAdjoinRoot.liftHom E3 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : Ring S] →
        {f : Polynomial R} →
          [inst_2 : Algebra R S] →
            IsAdjoinRoot S f →
              {T : Type u_1} →
                [inst_3 : CommRing T] → (x : T) → [inst_4 : Algebra R T] → (Polynomial.aeval x) f = 0 → S →ₐ[R] T

Lift the algebra map R → T to S →ₐ[R] T by specifying a root x of f in T, where S is given by adjoining a root of f to R.

theorem IsAdjoinRoot.coe_liftHom E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : CommRing T] {x : T} [inst_4 : Algebra R T]
  (hx' : (Polynomial.aeval x) f = 0), ↑(h.liftHom x hx') = h.lift (algebraMap R T) x hx'

theorem IsAdjoinRoot.lift_algebraMap_apply E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : CommRing T] {x : T} [inst_4 : Algebra R T]
  (hx' : (Polynomial.aeval x) f = 0) (z : S), (h.lift (algebraMap R T) x hx') z = (h.liftHom x hx') z

theorem IsAdjoinRoot.liftHom_map E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : CommRing T] {x : T} [inst_4 : Algebra R T]
  (hx' : (Polynomial.aeval x) f = 0) (z : Polynomial R), (h.liftHom x hx') (h.map z) = (Polynomial.aeval x) z

theorem IsAdjoinRoot.liftHom_root E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : CommRing T] {x : T} [inst_4 : Algebra R T]
  (hx' : (Polynomial.aeval x) f = 0), (h.liftHom x hx') h.root = x

theorem IsAdjoinRoot.isAlgebraic_root E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRoot S f), f ≠ 0 → IsAlgebraic R h.root

def AdjoinRoot.isAdjoinRoot E3 #

{R : Type u} → [inst : CommRing R] → (f : Polynomial R) → IsAdjoinRoot (AdjoinRoot f) f

AdjoinRoot f is indeed given by adjoining a root of f.

def AdjoinRoot.isAdjoinRootMonic E3 #

{R : Type u} → [inst : CommRing R] → (f : Polynomial R) → f.Monic → IsAdjoinRootMonic (AdjoinRoot f) f

AdjoinRoot f is indeed given by adjoining a root of f. If f is monic this is more powerful than AdjoinRoot.isAdjoinRoot.

theorem AdjoinRoot.isAdjoinRootMonic_toAdjoinRoot E0 #

∀ {R : Type u} [inst : CommRing R] (f : Polynomial R) (hf : f.Monic),
  (AdjoinRoot.isAdjoinRootMonic f hf).toIsAdjoinRoot = AdjoinRoot.isAdjoinRoot f

theorem AdjoinRoot.isAdjoinRoot_map_eq_mkₐ E1 #

∀ {R : Type u} [inst : CommRing R] (f : Polynomial R), (AdjoinRoot.isAdjoinRoot f).map = AdjoinRoot.mkₐ f

theorem AdjoinRoot.isAdjoinRoot_root_eq_root E0 #

∀ {R : Type u} [inst : CommRing R] (f : Polynomial R), (AdjoinRoot.isAdjoinRoot f).root = AdjoinRoot.root f

abbrev IsAdjoinRoot.ofAdjoinRootEquiv E1 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : Ring S] → {f : Polynomial R} → [inst_2 : Algebra R S] → (AdjoinRoot f ≃ₐ[R] S) → IsAdjoinRoot S f

If S is R-isomorphic to R[X]/(f), then S is given by adjoining a root of f.

theorem IsAdjoinRootMonic.map_modByMonic E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) (g : Polynomial R), h.map (g %ₘ f) = h.map g

theorem IsAdjoinRootMonic.modByMonic_repr_map E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) (g : Polynomial R), h.repr (h.map g) %ₘ f = g %ₘ f

def IsAdjoinRootMonic.modByMonicHom E3 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : Ring S] → {f : Polynomial R} → [inst_2 : Algebra R S] → IsAdjoinRootMonic S f → S →ₗ[R] Polynomial R

IsAdjoinRoot.modByMonicHom sends the equivalence class of f mod g to f %ₘ g.

theorem IsAdjoinRootMonic.modByMonicHom_map E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) (g : Polynomial R), h.modByMonicHom (h.map g) = g %ₘ f

theorem IsAdjoinRootMonic.map_modByMonicHom E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) (x : S), h.map (h.modByMonicHom x) = x

theorem IsAdjoinRootMonic.modByMonicHom_root_pow E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) {n : ℕ}, n < f.natDegree → h.modByMonicHom (h.root ^ n) = Polynomial.X ^ n

theorem IsAdjoinRootMonic.modByMonicHom_root E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f), 1 < f.natDegree → h.modByMonicHom h.root = Polynomial.X

def IsAdjoinRootMonic.basis E1 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : Ring S] →
        {f : Polynomial R} → [inst_2 : Algebra R S] → IsAdjoinRootMonic S f → Module.Basis (Fin f.natDegree) R S

The basis on S generated by powers of h.root.

Auxiliary definition for IsAdjoinRootMonic.powerBasis.

theorem IsAdjoinRootMonic.basis_apply E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) (i : Fin f.natDegree), h.basis i = h.root ^ ↑i

theorem IsAdjoinRootMonic.deg_pos E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) [Nontrivial S], 0 < f.natDegree

theorem IsAdjoinRootMonic.deg_ne_zero E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) [Nontrivial S], f.natDegree ≠ 0

def IsAdjoinRootMonic.powerBasis E3 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : Ring S] → {f : Polynomial R} → [inst_2 : Algebra R S] → IsAdjoinRootMonic S f → PowerBasis R S

If f is monic, the powers of h.root form a basis.

theorem IsAdjoinRootMonic.powerBasis_dim E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f), h.powerBasis.dim = f.natDegree

theorem IsAdjoinRootMonic.powerBasis_gen E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f), h.powerBasis.gen = h.root

theorem IsAdjoinRootMonic.powerBasis_basis E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f), h.powerBasis.basis = h.basis

theorem IsAdjoinRootMonic.basis_repr E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) (x : S) (i : Fin f.natDegree), (h.basis.repr x) i = (h.modByMonicHom x).coeff ↑i

theorem IsAdjoinRootMonic.basis_one E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) (hdeg : 1 < f.natDegree), h.basis ⟨1, hdeg⟩ = h.root

theorem IsAdjoinRootMonic.finite E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f), Module.Finite R S

theorem IsAdjoinRootMonic.finrank E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) [StrongRankCondition R], Module.finrank R S = f.natDegree

theorem finrank_quotient_span_eq_natDegree' E1 #

∀ {R : Type u} [inst : CommRing R] {f : Polynomial R} [StrongRankCondition R],
  f.Monic → Module.finrank R (Polynomial R ⧸ Ideal.span {f}) = f.natDegree

See finrank_quotient_span_eq_natDegree for a more general version over a field.

def IsAdjoinRootMonic.liftPolyₗ E1 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : Ring S] →
        {f : Polynomial R} →
          [inst_2 : Algebra R S] →
            IsAdjoinRootMonic S f →
              {T : Type u_1} → [inst_3 : AddCommGroup T] → [inst_4 : Module R T] → (Polynomial R →ₗ[R] T) → S →ₗ[R] T

IsAdjoinRootMonic.liftPolyₗ lifts a linear map on polynomials to a linear map on S.

theorem IsAdjoinRootMonic.liftPolyₗ_apply E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) {T : Type u_1} [inst_3 : AddCommGroup T] [inst_4 : Module R T] (g : Polynomial R →ₗ[R] T)
  (x : S), (h.liftPolyₗ g) x = g (h.modByMonicHom x)

def IsAdjoinRootMonic.coeff E1 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : Ring S] → {f : Polynomial R} → [inst_2 : Algebra R S] → IsAdjoinRootMonic S f → S →ₗ[R] ℕ → R

IsAdjoinRootMonic.coeff h x i is the ith coefficient of the representative of x : S.

theorem IsAdjoinRootMonic.coeff_apply_lt E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) (z : S) (i : ℕ) (hi : i < f.natDegree), h.coeff z i = (h.basis.repr z) ⟨i, hi⟩

theorem IsAdjoinRootMonic.coeff_apply_coe E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) (z : S) (i : Fin f.natDegree), h.coeff z ↑i = (h.basis.repr z) i

theorem IsAdjoinRootMonic.coeff_apply_le E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) (z : S) (i : ℕ), f.natDegree ≤ i → h.coeff z i = 0

theorem IsAdjoinRootMonic.coeff_apply E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) (z : S) (i : ℕ),
  h.coeff z i = if hi : i < f.natDegree then (h.basis.repr z) ⟨i, hi⟩ else 0

theorem IsAdjoinRootMonic.coeff_root_pow E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) {n : ℕ}, n < f.natDegree → h.coeff (h.root ^ n) = Pi.single n 1

theorem IsAdjoinRootMonic.coeff_one E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) [Nontrivial S], h.coeff 1 = Pi.single 0 1

theorem IsAdjoinRootMonic.coeff_root E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f), 1 < f.natDegree → h.coeff h.root = Pi.single 1 1

theorem IsAdjoinRootMonic.coeff_algebraMap E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) [Nontrivial S] (x : R), h.coeff ((algebraMap R S) x) = Pi.single 0 x

theorem IsAdjoinRootMonic.ext_elem E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) ⦃x y : S⦄, (∀ i < f.natDegree, h.coeff x i = h.coeff y i) → x = y

theorem IsAdjoinRootMonic.ext_elem_iff E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f) {x y : S}, x = y ↔ ∀ i < f.natDegree, h.coeff x i = h.coeff y i

theorem IsAdjoinRootMonic.coeff_injective E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f), Function.Injective ⇑h.coeff

theorem IsAdjoinRootMonic.isIntegral_root E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : Ring S] {f : Polynomial R} [inst_2 : Algebra R S]
  (h : IsAdjoinRootMonic S f), IsIntegral R h.root

theorem IsAdjoinRoot.lift_self_apply E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] {f : Polynomial R}
  (h : IsAdjoinRoot S f) (x : S), (h.lift (algebraMap R S) h.root ⋯) x = x

theorem IsAdjoinRoot.lift_self E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] {f : Polynomial R}
  (h : IsAdjoinRoot S f), h.lift (algebraMap R S) h.root ⋯ = RingHom.id S

def IsAdjoinRoot.mkOfAdjoinEqTop E1 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : CommRing S] →
        [inst_2 : Algebra R S] →
          [IsDomain R] →
            [IsDomain S] →
              [Module.IsTorsionFree R S] →
                [IsIntegrallyClosed R] → {α : S} → IsIntegral R α → R[α] = ⊤ → IsAdjoinRoot S (minpoly R α)

If α generates S as an algebra, then S is given by adjoining a root of minpoly R α.

theorem IsAdjoinRoot.mkOfAdjoinEqTop_map E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [inst_3 : IsDomain R]
  [inst_4 : IsDomain S] [inst_5 : Module.IsTorsionFree R S] [inst_6 : IsIntegrallyClosed R] {α : S}
  (hα : IsIntegral R α) (hα₂ : R[α] = ⊤), (IsAdjoinRoot.mkOfAdjoinEqTop hα hα₂).map = Polynomial.aeval α

abbrev IsAdjoinRootMonic.mkOfAdjoinEqTop E1 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : CommRing S] →
        [inst_2 : Algebra R S] →
          [IsDomain R] →
            [IsDomain S] →
              [Module.IsTorsionFree R S] →
                [IsIntegrallyClosed R] → {α : S} → IsIntegral R α → R[α] = ⊤ → IsAdjoinRootMonic S (minpoly R α)

If α generates S as an algebra, then S is given by adjoining a root of minpoly R α.

theorem IsAdjoinRoot.mkOfAdjoinEqTop_root E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [inst_3 : IsDomain R]
  [inst_4 : IsDomain S] [inst_5 : Module.IsTorsionFree R S] [inst_6 : IsIntegrallyClosed R] {α : S}
  (hα : IsIntegral R α) (hα₂ : R[α] = ⊤), (IsAdjoinRoot.mkOfAdjoinEqTop hα hα₂).root = α

theorem IsAdjoinRoot.lift_algEquiv E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] {f : Polynomial R}
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : CommRing T] [inst_4 : Algebra R T] (h' : IsAdjoinRoot T f)
  {U : Type u_2} [inst_5 : CommRing U] (i : R →+* U) (x : U) (hx : Polynomial.eval₂ i x f = 0) (z : S),
  (h'.lift i x hx) ((h.algEquiv h') z) = (h.lift i x hx) z

theorem IsAdjoinRoot.liftHom_algEquiv E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] {f : Polynomial R}
  (h : IsAdjoinRoot S f) {T : Type u_1} [inst_3 : CommRing T] [inst_4 : Algebra R T] (h' : IsAdjoinRoot T f)
  {U : Type u_2} [inst_5 : CommRing U] [inst_6 : Algebra R U] (x : U) (hx : (Polynomial.aeval x) f = 0) (z : S),
  (h'.liftHom x hx) ((h.algEquiv h') z) = (h.liftHom x hx) z

theorem IsAdjoinRootMonic.minpoly_eq E3 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] {f : Polynomial R}
  (h : IsAdjoinRootMonic S f) [IsDomain R] [IsDomain S] [Module.IsTorsionFree R S] [IsIntegrallyClosed R],
  Irreducible f → minpoly R h.root = f

def IsAdjoinRootMonic.mkOfAdjoinEqTop' E1 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : CommRing S] →
        [inst_2 : Algebra R S] →
          [Module.Finite R S] → [Module.Free R S] → {α : S} → R[α] = ⊤ → IsAdjoinRootMonic S (minpoly R α)

If α generates S as an algebra and S is free and finite, then S is given by adjoining a root of minpoly R α. Does not require that R is an integral domain, unlike mkOfAdjoinEqTop.

theorem IsAdjoinRootMonic.mkOfAdjoinEqTop'_map E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [inst_3 : Module.Finite R S] [inst_4 : Module.Free R S] {α : S} (hα : R[α] = ⊤),
  (IsAdjoinRootMonic.mkOfAdjoinEqTop' hα).map = Polynomial.aeval α

theorem IsAdjoinRootMonic.mkOfAdjoinEqTop'_root E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [inst_3 : Module.Finite R S] [inst_4 : Module.Free R S] {α : S} (hα : R[α] = ⊤),
  (IsAdjoinRootMonic.mkOfAdjoinEqTop' hα).root = α

theorem Algebra.adjoin.powerBasis'_minpoly_gen E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [inst_3 : IsDomain R]
  [inst_4 : IsDomain S] [inst_5 : Module.IsTorsionFree R S] [inst_6 : IsIntegrallyClosed R] {x : S}
  (hx' : IsIntegral R x), minpoly R x = minpoly R (Algebra.adjoin.powerBasis' hx').gen

theorem IsAdjoinRoot.isField_iff_irreducible E1 #

∀ {F : Type u_1} [inst : Field F] {f : Polynomial F} {E : Type u_3} [inst_1 : Ring E] [inst_2 : Algebra F E]
  (h : IsAdjoinRoot E f), IsField E ↔ Irreducible f

theorem IsAdjoinRoot.irreducible E1 #

∀ {F : Type u_1} {E : Type u_2} [inst : Field F] [inst_1 : Field E] [inst_2 : Algebra F E] {f : Polynomial F}
  (h : IsAdjoinRoot E f), Irreducible f

theorem IsAdjoinRoot.primitive_element_root E1 #

∀ {F : Type u_1} {E : Type u_2} [inst : Field F] [inst_1 : Field E] [inst_2 : Algebra F E] {f : Polynomial F}
  (h : IsAdjoinRoot E f), F⟮h.root⟯ = ⊤

abbrev IsAdjoinRoot.mkOfPrimitiveElement E1 #

{F : Type u_1} →
  {E : Type u_2} →
    [inst : Field F] →
      [inst_1 : Field E] → [inst_2 : Algebra F E] → {α : E} → IsIntegral F α → F⟮α⟯ = ⊤ → IsAdjoinRoot E (minpoly F α)

If α is primitive in E/f, then E is given by adjoining a root of minpoly F α.

abbrev IsAdjoinRootMonic.mkOfPrimitiveElement E1 #

{F : Type u_1} →
  {E : Type u_2} →
    [inst : Field F] →
      [inst_1 : Field E] →
        [inst_2 : Algebra F E] → {α : E} → IsIntegral F α → F⟮α⟯ = ⊤ → IsAdjoinRootMonic E (minpoly F α)

If α is primitive in E/f, then E is given by adjoining a root of minpoly F α.