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.Polynomial.Hermite.Basic

19 declarations. Mathlib docs · Source

Hermite polynomials

This file defines Polynomial.hermite n, the nth probabilists' Hermite polynomial.

Main definitions

  • Polynomial.hermite n: the nth probabilists' Hermite polynomial, defined recursively as a Polynomial ℤ

Results

  • Polynomial.hermite_succ: the recursion hermite (n+1) = (x - d/dx) (hermite n)
  • Polynomial.coeff_hermite_explicit: a closed formula for (nonvanishing) coefficients in terms of binomial coefficients and double factorials.
  • Polynomial.coeff_hermite_of_odd_add: for n,k where n+k is odd, (hermite n).coeff k is zero.
  • Polynomial.coeff_hermite_of_even_add: a closed formula for (hermite n).coeff k when n+k is even, equivalent to Polynomial.coeff_hermite_explicit.
  • Polynomial.monic_hermite: for all n, hermite n is monic.
  • Polynomial.degree_hermite: for all n, hermite n has degree n.

References

Lemmas about Polynomial.coeff

theorem Polynomial.hermite.match_1.congr_eq_1 E1 #

∀ (motive : ℕ → Sort u_1) (x : ℕ) (h_1 : Unit → motive 0) (h_2 : (n : ℕ) → motive n.succ),
  x = 0 →
    (match x with
      | 0 => h_1 ()
      | n.succ => h_2 n) ≍
      h_1 ()

theorem Polynomial.hermite.match_1.congr_eq_2 E1 #

∀ (motive : ℕ → Sort u_1) (x : ℕ) (h_1 : Unit → motive 0) (h_2 : (n : ℕ) → motive n.succ) (n : ℕ),
  x = n.succ →
    (match x with
      | 0 => h_1 ()
      | n.succ => h_2 n) ≍
      h_2 n

def Polynomial.hermite E1 #

ℕ → Polynomial ℤ

the probabilists' Hermite polynomials.

theorem Polynomial.hermite_succ E0 #

∀ (n : ℕ),
  Polynomial.hermite (n + 1) = Polynomial.X * Polynomial.hermite n - Polynomial.derivative (Polynomial.hermite n)

The recursion hermite (n+1) = (x - d/dx) (hermite n)

theorem Polynomial.hermite_eq_iterate E1 #

∀ (n : ℕ), Polynomial.hermite n = (fun p ↦ Polynomial.X * p - Polynomial.derivative p)^[n] 1

theorem Polynomial.hermite_zero E0 #

Polynomial.hermite 0 = Polynomial.C 1

theorem Polynomial.hermite_one E1 #

Polynomial.hermite 1 = Polynomial.X

theorem Polynomial.coeff_hermite_succ_zero E1 #

∀ (n : ℕ), (Polynomial.hermite (n + 1)).coeff 0 = -(Polynomial.hermite n).coeff 1

theorem Polynomial.coeff_hermite_succ_succ E1 #

∀ (n k : ℕ),
  (Polynomial.hermite (n + 1)).coeff (k + 1) =
    (Polynomial.hermite n).coeff k - (↑k + 2) * (Polynomial.hermite n).coeff (k + 2)

theorem Polynomial.coeff_hermite_of_lt E1 #

∀ {n k : ℕ}, n < k → (Polynomial.hermite n).coeff k = 0

theorem Polynomial.coeff_hermite_self E0 #

∀ (n : ℕ), (Polynomial.hermite n).coeff n = 1

theorem Polynomial.degree_hermite E0 #

∀ (n : ℕ), (Polynomial.hermite n).degree = ↑n

theorem Polynomial.natDegree_hermite E0 #

∀ {n : ℕ}, (Polynomial.hermite n).natDegree = n

theorem Polynomial.leadingCoeff_hermite E0 #

∀ (n : ℕ), (Polynomial.hermite n).leadingCoeff = 1

theorem Polynomial.hermite_monic E1 #

∀ (n : ℕ), (Polynomial.hermite n).Monic

theorem Polynomial.coeff_hermite_of_odd_add E1 #

∀ {n k : ℕ}, Odd (n + k) → (Polynomial.hermite n).coeff k = 0

theorem Polynomial.coeff_hermite_explicit E1 #

∀ (n k : ℕ),
  (Polynomial.hermite (2 * n + k)).coeff k = (-1) ^ n * ↑(2 * n - 1).doubleFactorial * ↑((2 * n + k).choose k)

Because of coeff_hermite_of_odd_add, every nonzero coefficient is described as follows.

theorem Polynomial.coeff_hermite_of_even_add E1 #

∀ {n k : ℕ},
  Even (n + k) → (Polynomial.hermite n).coeff k = (-1) ^ ((n - k) / 2) * ↑(n - k - 1).doubleFactorial * ↑(n.choose k)

theorem Polynomial.coeff_hermite E1 #

∀ (n k : ℕ),
  (Polynomial.hermite n).coeff k =
    if Even (n + k) then (-1) ^ ((n - k) / 2) * ↑(n - k - 1).doubleFactorial * ↑(n.choose k) else 0