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.Algebra.Polynomial.Derivation

18 declarations. Mathlib docs · Source

Derivations of univariate polynomials

In this file we prove that an R-derivation of Polynomial R is determined by its value on X. We also provide a constructor Polynomial.mkDerivation that builds a derivation from its value on X, and a linear equivalence Polynomial.mkDerivationEquiv between A and Derivation (Polynomial R) A.

def Polynomial.derivative' E1 #

{R : Type u_1} → [inst : CommSemiring R] → Derivation R (Polynomial R) (Polynomial R)

Polynomial.derivative as a derivation.

theorem Polynomial.derivative'_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (a : Polynomial R), Polynomial.derivative' a = Polynomial.derivative a

theorem Polynomial.derivation_C E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid A] [inst_2 : Module R A]
  [inst_3 : Module (Polynomial R) A] (D : Derivation R (Polynomial R) A) (a : R), D (Polynomial.C a) = 0

theorem Polynomial.C_smul_derivation_apply E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid A] [inst_2 : Module R A]
  [inst_3 : Module (Polynomial R) A] (D : Derivation R (Polynomial R) A) (a : R) (f : Polynomial R),
  Polynomial.C a • D f = a • D f

theorem Polynomial.derivation_ext E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid A] [inst_2 : Module R A]
  [inst_3 : Module (Polynomial R) A] {D₁ D₂ : Derivation R (Polynomial R) A},
  D₁ Polynomial.X = D₂ Polynomial.X → D₁ = D₂

theorem Polynomial.derivation_ext_iff E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid A] [inst_2 : Module R A]
  [inst_3 : Module (Polynomial R) A] {D₁ D₂ : Derivation R (Polynomial R) A},
  D₁ = D₂ ↔ D₁ Polynomial.X = D₂ Polynomial.X

def Polynomial.mkDerivation E1 #

(R : Type u_1) →
  {A : Type u_2} →
    [inst : CommSemiring R] →
      [inst_1 : AddCommMonoid A] →
        [inst_2 : Module R A] →
          [inst_3 : Module (Polynomial R) A] →
            [inst_4 : IsScalarTower R (Polynomial R) A] → A →ₗ[R] Derivation R (Polynomial R) A

The derivation on R[X] that takes the value a on X.

theorem Polynomial.mkDerivation_apply E0 #

∀ (R : Type u_1) {A : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid A] [inst_2 : Module R A]
  [inst_3 : Module (Polynomial R) A] [inst_4 : IsScalarTower R (Polynomial R) A] (a : A) (f : Polynomial R),
  ((Polynomial.mkDerivation R) a) f = Polynomial.derivative f • a

theorem Polynomial.mkDerivation_X E0 #

∀ (R : Type u_1) {A : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid A] [inst_2 : Module R A]
  [inst_3 : Module (Polynomial R) A] [inst_4 : IsScalarTower R (Polynomial R) A] (a : A),
  ((Polynomial.mkDerivation R) a) Polynomial.X = a

theorem Polynomial.mkDerivation_one_eq_derivative' E1 #

∀ (R : Type u_1) [inst : CommSemiring R], (Polynomial.mkDerivation R) 1 = Polynomial.derivative'

theorem Polynomial.mkDerivation_one_eq_derivative E1 #

∀ (R : Type u_1) [inst : CommSemiring R] (f : Polynomial R), ((Polynomial.mkDerivation R) 1) f = Polynomial.derivative f

def Polynomial.mkDerivationEquiv E1 #

(R : Type u_1) →
  {A : Type u_2} →
    [inst : CommSemiring R] →
      [inst_1 : AddCommMonoid A] →
        [inst_2 : Module R A] →
          [inst_3 : Module (Polynomial R) A] →
            [inst_4 : IsScalarTower R (Polynomial R) A] → A ≃ₗ[R] Derivation R (Polynomial R) A

Polynomial.mkDerivation as a linear equivalence.

theorem Polynomial.mkDerivationEquiv_apply E0 #

∀ (R : Type u_1) {A : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid A] [inst_2 : Module R A]
  [inst_3 : Module (Polynomial R) A] [inst_4 : IsScalarTower R (Polynomial R) A] (a : A),
  (Polynomial.mkDerivationEquiv R) a = (Polynomial.mkDerivation R) a

theorem Polynomial.mkDerivationEquiv_symm_apply E0 #

∀ (R : Type u_1) {A : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid A] [inst_2 : Module R A]
  [inst_3 : Module (Polynomial R) A] [inst_4 : IsScalarTower R (Polynomial R) A] (D : Derivation R (Polynomial R) A),
  (Polynomial.mkDerivationEquiv R).symm D = D Polynomial.X

def Derivation.compAEval E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {M : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : CommSemiring A] →
          [inst_2 : Algebra R A] →
            [inst_3 : AddCommMonoid M] →
              [inst_4 : Module A M] →
                [inst_5 : Module R M] →
                  [inst_6 : IsScalarTower R A M] →
                    Derivation R A M → (a : A) → Derivation R (Polynomial R) (Module.AEval R M a)

For a derivation d : A → M and an element a : A, d.compAEval a is the derivation of R[X] which takes a polynomial f to d(aeval a f).

This derivation takes values in Module.AEval R M a, which is M, regarded as an R[X]-module, with the action of a polynomial f defined by f • m = (aeval a f) • m.

theorem Derivation.compAEval_apply E0 #

∀ {R : Type u_1} {A : Type u_2} {M : Type u_3} [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A]
  [inst_3 : AddCommMonoid M] [inst_4 : Module A M] [inst_5 : Module R M] [inst_6 : IsScalarTower R A M]
  (d : Derivation R A M) (a : A) (f : Polynomial R),
  (d.compAEval a) f = (Module.AEval.of R M a) (d ((Polynomial.aeval a) f))

theorem Derivation.compAEval_eq E0 #

∀ {R : Type u_1} {A : Type u_2} {M : Type u_3} [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A]
  [inst_3 : AddCommMonoid M] [inst_4 : Module A M] [inst_5 : Module R M] [inst_6 : IsScalarTower R A M] (a : A)
  (d : Derivation R A M) (f : Polynomial R), (d.compAEval a) f = Polynomial.derivative f • (Module.AEval.of R M a) (d a)

A form of the chain rule: if f is a polynomial over R and d : A → M is an R-derivation then for all a : A we have $$ d(f(a)) = f' (a) d a. $$ The equation is in the R[X]-module Module.AEval R M a. For the same equation in M, see Derivation.compAEval_eq.

theorem Derivation.comp_aeval_eq E0 #

∀ {R : Type u_1} {A : Type u_2} {M : Type u_3} [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A]
  [inst_3 : AddCommMonoid M] [inst_4 : Module A M] [inst_5 : Module R M] [IsScalarTower R A M] (a : A)
  (d : Derivation R A M) (f : Polynomial R),
  d ((Polynomial.aeval a) f) = (Polynomial.aeval a) (Polynomial.derivative f) • d a

A form of the chain rule: if f is a polynomial over R and d : A → M is an R-derivation then for all a : A we have $$ d(f(a)) = f' (a) d a. $$ The equation is in M. For the same equation in Module.AEval R M a, see Derivation.compAEval_eq.