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.Chebyshev

151 declarations and 1 deprecated aliases. Mathlib docs · Source

Chebyshev polynomials

The Chebyshev polynomials are families of polynomials indexed by ℤ, with integral coefficients.

Main definitions

  • Polynomial.Chebyshev.T: the Chebyshev polynomials of the first kind.
  • Polynomial.Chebyshev.U: the Chebyshev polynomials of the second kind.
  • Polynomial.Chebyshev.C: the rescaled Chebyshev polynomials of the first kind (also known as the Vieta–Lucas polynomials), given by $C_n(2x) = 2T_n(x)$.
  • Polynomial.Chebyshev.S: the rescaled Chebyshev polynomials of the second kind (also known as the Vieta–Fibonacci polynomials), given by $S_n(2x) = U_n(x)$.

Main statements

  • The formal derivative of the Chebyshev polynomials of the first kind is a scalar multiple of the Chebyshev polynomials of the second kind.
  • Polynomial.Chebyshev.T_mul_T, twice the product of the m-th and k-th Chebyshev polynomials of the first kind is the sum of the m + k-th and m - k-th Chebyshev polynomials of the first kind. There is a similar statement Polynomial.Chebyshev.C_mul_C for the C polynomials.
  • Polynomial.Chebyshev.T_mul, the (m * n)-th Chebyshev polynomial of the first kind is the composition of the m-th and n-th Chebyshev polynomials of the first kind. There is a similar statement Polynomial.Chebyshev.C_mul for the C polynomials.

Implementation notes

Since Chebyshev polynomials have interesting behaviour over the complex numbers and modulo p, we define them to have coefficients in an arbitrary commutative ring, even though technically ℤ would suffice. The benefit of allowing arbitrary coefficient rings, is that the statements afterwards are clean, and do not have map (Int.castRingHom R) interfering all the time.

References

[Lionel Ponton, Roots of the Chebyshev polynomials: A purely algebraic approach][ponton2020chebyshev]

TODO

  • Redefine and/or relate the definition of Chebyshev polynomials to LinearRecurrence.
  • Add explicit formula involving square roots for Chebyshev polynomials

theorem Polynomial.Chebyshev.T.match_1.congr_eq_2 E1 #

∀ (motive : ℤ → Sort u_1) (x : ℤ) (h_1 : Unit → motive 0) (h_2 : Unit → motive 1)
  (h_3 : (n : ℕ) → motive (Int.ofNat n.succ.succ)) (h_4 : (n : ℕ) → motive (Int.negSucc n)),
  x = 1 →
    (match x with
      | 0 => h_1 ()
      | 1 => h_2 ()
      | Int.ofNat n.succ.succ => h_3 n
      | Int.negSucc n => h_4 n) ≍
      h_2 ()

theorem Polynomial.Chebyshev.T.match_1.congr_eq_3 E1 #

∀ (motive : ℤ → Sort u_1) (x : ℤ) (h_1 : Unit → motive 0) (h_2 : Unit → motive 1)
  (h_3 : (n : ℕ) → motive (Int.ofNat n.succ.succ)) (h_4 : (n : ℕ) → motive (Int.negSucc n)) (n : ℕ),
  x = Int.ofNat n.succ.succ →
    (match x with
      | 0 => h_1 ()
      | 1 => h_2 ()
      | Int.ofNat n.succ.succ => h_3 n
      | Int.negSucc n => h_4 n) ≍
      h_3 n

theorem Polynomial.Chebyshev.T.induct E1 #

∀ (motive : ℤ → Prop),
  motive 0 →
    motive 1 →
      (∀ (n : ℕ), motive (↑n + 1) → motive ↑n → motive (Int.ofNat n.succ.succ)) →
        (∀ (n : ℕ), motive (-↑n) → motive (-↑n + 1) → motive (Int.negSucc n)) → ∀ (a : ℤ), motive a

theorem Polynomial.Chebyshev.T.match_1.congr_eq_4 E1 #

∀ (motive : ℤ → Sort u_1) (x : ℤ) (h_1 : Unit → motive 0) (h_2 : Unit → motive 1)
  (h_3 : (n : ℕ) → motive (Int.ofNat n.succ.succ)) (h_4 : (n : ℕ) → motive (Int.negSucc n)) (n : ℕ),
  x = Int.negSucc n →
    (match x with
      | 0 => h_1 ()
      | 1 => h_2 ()
      | Int.ofNat n.succ.succ => h_3 n
      | Int.negSucc n => h_4 n) ≍
      h_4 n

theorem Polynomial.Chebyshev.T.match_1.congr_eq_1 E1 #

∀ (motive : ℤ → Sort u_1) (x : ℤ) (h_1 : Unit → motive 0) (h_2 : Unit → motive 1)
  (h_3 : (n : ℕ) → motive (Int.ofNat n.succ.succ)) (h_4 : (n : ℕ) → motive (Int.negSucc n)),
  x = 0 →
    (match x with
      | 0 => h_1 ()
      | 1 => h_2 ()
      | Int.ofNat n.succ.succ => h_3 n
      | Int.negSucc n => h_4 n) ≍
      h_1 ()

def Polynomial.Chebyshev.T E3 #

(R : Type u_1) → [inst : CommRing R] → ℤ → Polynomial R

T n is the n-th Chebyshev polynomial of the first kind.

theorem Polynomial.Chebyshev.induct E2 #

∀ (motive : ℤ → Prop),
  motive 0 →
    motive 1 →
      (∀ (n : ℕ), motive (↑n + 1) → motive ↑n → motive (↑n + 2)) →
        (∀ (n : ℕ), motive (-↑n) → motive (-↑n + 1) → motive (-↑n - 1)) → ∀ (a : ℤ), motive a

Induction principle used for proving facts about Chebyshev polynomials.

theorem Polynomial.Chebyshev.induct' E1 #

∀ (motive : ℤ → Prop),
  motive 0 →
    motive 1 →
      (∀ (n : ℕ), motive (↑n + 1) → motive ↑n → motive (↑n + 2)) →
        (∀ (n : ℤ), motive n → motive (-n)) → ∀ (a : ℤ), motive a

Another induction principle used for proving facts about Chebyshev polynomials, which is sometimes easier to use

theorem Polynomial.Chebyshev.T_add_two E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.T R (n + 2) = 2 * Polynomial.X * Polynomial.Chebyshev.T R (n + 1) - Polynomial.Chebyshev.T R n

theorem Polynomial.Chebyshev.T_add_one E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.T R (n + 1) = 2 * Polynomial.X * Polynomial.Chebyshev.T R n - Polynomial.Chebyshev.T R (n - 1)

theorem Polynomial.Chebyshev.T_sub_two E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.T R (n - 2) = 2 * Polynomial.X * Polynomial.Chebyshev.T R (n - 1) - Polynomial.Chebyshev.T R n

theorem Polynomial.Chebyshev.T_sub_one E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.T R (n - 1) = 2 * Polynomial.X * Polynomial.Chebyshev.T R n - Polynomial.Chebyshev.T R (n + 1)

theorem Polynomial.Chebyshev.T_eq E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.T R n = 2 * Polynomial.X * Polynomial.Chebyshev.T R (n - 1) - Polynomial.Chebyshev.T R (n - 2)

theorem Polynomial.Chebyshev.T_zero E0 #

∀ (R : Type u_1) [inst : CommRing R], Polynomial.Chebyshev.T R 0 = 1

theorem Polynomial.Chebyshev.T_one E0 #

∀ (R : Type u_1) [inst : CommRing R], Polynomial.Chebyshev.T R 1 = Polynomial.X

theorem Polynomial.Chebyshev.T_neg_one E1 #

∀ (R : Type u_1) [inst : CommRing R], Polynomial.Chebyshev.T R (-1) = Polynomial.X

theorem Polynomial.Chebyshev.T_two E1 #

∀ (R : Type u_1) [inst : CommRing R], Polynomial.Chebyshev.T R 2 = 2 * Polynomial.X ^ 2 - 1

theorem Polynomial.Chebyshev.T_neg E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ), Polynomial.Chebyshev.T R (-n) = Polynomial.Chebyshev.T R n

theorem Polynomial.Chebyshev.T_natAbs E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ), Polynomial.Chebyshev.T R ↑n.natAbs = Polynomial.Chebyshev.T R n

theorem Polynomial.Chebyshev.T_neg_two E1 #

∀ (R : Type u_1) [inst : CommRing R], Polynomial.Chebyshev.T R (-2) = 2 * Polynomial.X ^ 2 - 1

theorem Polynomial.Chebyshev.T_eval_one E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ), Polynomial.eval 1 (Polynomial.Chebyshev.T R n) = 1

theorem Polynomial.Chebyshev.T_eval_neg_one E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ), Polynomial.eval (-1) (Polynomial.Chebyshev.T R n) = ↑↑n.negOnePow

theorem Polynomial.Chebyshev.T_eval_zero E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.eval 0 (Polynomial.Chebyshev.T R n) = ↑(if Even n then ↑(n / 2).negOnePow else 0)

theorem Polynomial.Chebyshev.T_eval_zero_of_even E0 #

∀ (R : Type u_1) [inst : CommRing R] {n : ℤ},
  Even n → Polynomial.eval 0 (Polynomial.Chebyshev.T R n) = ↑↑(n / 2).negOnePow

theorem Polynomial.Chebyshev.T_eval_two_mul_zero E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ), Polynomial.eval 0 (Polynomial.Chebyshev.T R (2 * n)) = ↑↑n.negOnePow

theorem Polynomial.Chebyshev.T_eval_zero_of_odd E0 #

∀ (R : Type u_1) [inst : CommRing R] {n : ℤ}, Odd n → Polynomial.eval 0 (Polynomial.Chebyshev.T R n) = 0

theorem Polynomial.Chebyshev.degree_T E0 #

∀ (R : Type u_1) [inst : CommRing R] [IsDomain R] [NeZero 2] (n : ℤ), (Polynomial.Chebyshev.T R n).degree = ↑n.natAbs

theorem Polynomial.Chebyshev.natDegree_T E0 #

∀ (R : Type u_1) [inst : CommRing R] [IsDomain R] [NeZero 2] (n : ℤ), (Polynomial.Chebyshev.T R n).natDegree = n.natAbs

theorem Polynomial.Chebyshev.leadingCoeff_T E0 #

∀ (R : Type u_1) [inst : CommRing R] [IsDomain R] [NeZero 2] (n : ℤ),
  (Polynomial.Chebyshev.T R n).leadingCoeff = 2 ^ (n.natAbs - 1)

theorem Polynomial.Chebyshev.T_eval_neg E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ) (x : R),
  Polynomial.eval (-x) (Polynomial.Chebyshev.T R n) = ↑↑n.negOnePow * Polynomial.eval x (Polynomial.Chebyshev.T R n)

theorem Polynomial.Chebyshev.T_ne_zero E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ) [IsDomain R] [NeZero 2], Polynomial.Chebyshev.T R n ≠ 0

def Polynomial.Chebyshev.chebyshevTSequence E1 #

(R : Type u_1) → [inst : CommRing R] → [IsDomain R] → [NeZero 2] → Polynomial.Sequence R

ChebyshevT as a polynomial sequence.

def Polynomial.Chebyshev.U E3 #

(R : Type u_1) → [inst : CommRing R] → ℤ → Polynomial R

U n is the n-th Chebyshev polynomial of the second kind.

theorem Polynomial.Chebyshev.U_add_two E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.U R (n + 2) = 2 * Polynomial.X * Polynomial.Chebyshev.U R (n + 1) - Polynomial.Chebyshev.U R n

theorem Polynomial.Chebyshev.U_add_one E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.U R (n + 1) = 2 * Polynomial.X * Polynomial.Chebyshev.U R n - Polynomial.Chebyshev.U R (n - 1)

theorem Polynomial.Chebyshev.U_sub_two E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.U R (n - 2) = 2 * Polynomial.X * Polynomial.Chebyshev.U R (n - 1) - Polynomial.Chebyshev.U R n

theorem Polynomial.Chebyshev.U_sub_one E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.U R (n - 1) = 2 * Polynomial.X * Polynomial.Chebyshev.U R n - Polynomial.Chebyshev.U R (n + 1)

theorem Polynomial.Chebyshev.U_eq E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.U R n = 2 * Polynomial.X * Polynomial.Chebyshev.U R (n - 1) - Polynomial.Chebyshev.U R (n - 2)

theorem Polynomial.Chebyshev.U_zero E0 #

∀ (R : Type u_1) [inst : CommRing R], Polynomial.Chebyshev.U R 0 = 1

theorem Polynomial.Chebyshev.U_one E0 #

∀ (R : Type u_1) [inst : CommRing R], Polynomial.Chebyshev.U R 1 = 2 * Polynomial.X

theorem Polynomial.Chebyshev.U_neg_one E0 #

∀ (R : Type u_1) [inst : CommRing R], Polynomial.Chebyshev.U R (-1) = 0

theorem Polynomial.Chebyshev.U_two E1 #

∀ (R : Type u_1) [inst : CommRing R], Polynomial.Chebyshev.U R 2 = 4 * Polynomial.X ^ 2 - 1

theorem Polynomial.Chebyshev.U_neg_two E0 #

∀ (R : Type u_1) [inst : CommRing R], Polynomial.Chebyshev.U R (-2) = -1

theorem Polynomial.Chebyshev.U_neg_sub_one E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ), Polynomial.Chebyshev.U R (-n - 1) = -Polynomial.Chebyshev.U R (n - 1)

theorem Polynomial.Chebyshev.U_neg E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ), Polynomial.Chebyshev.U R (-n) = -Polynomial.Chebyshev.U R (n - 2)

theorem Polynomial.Chebyshev.U_neg_sub_two E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ), Polynomial.Chebyshev.U R (-n - 2) = -Polynomial.Chebyshev.U R n

theorem Polynomial.Chebyshev.U_eval_one E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ), Polynomial.eval 1 (Polynomial.Chebyshev.U R n) = ↑n + 1

theorem Polynomial.Chebyshev.U_eval_neg_one E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.eval (-1) (Polynomial.Chebyshev.U R n) = ↑↑n.negOnePow * (↑n + 1)

theorem Polynomial.Chebyshev.U_eval_zero E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.eval 0 (Polynomial.Chebyshev.U R n) = ↑(if Even n then ↑(n / 2).negOnePow else 0)

theorem Polynomial.Chebyshev.U_eval_zero_of_even E0 #

∀ (R : Type u_1) [inst : CommRing R] {n : ℤ},
  Even n → Polynomial.eval 0 (Polynomial.Chebyshev.U R n) = ↑↑(n / 2).negOnePow

theorem Polynomial.Chebyshev.U_eval_two_mul_zero E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ), Polynomial.eval 0 (Polynomial.Chebyshev.U R (2 * n)) = ↑↑n.negOnePow

theorem Polynomial.Chebyshev.U_eval_zero_of_odd E0 #

∀ (R : Type u_1) [inst : CommRing R] {n : ℤ}, Odd n → Polynomial.eval 0 (Polynomial.Chebyshev.U R n) = 0

theorem Polynomial.Chebyshev.degree_U_natCast E0 #

∀ (R : Type u_1) [inst : CommRing R] [IsDomain R] [NeZero 2] (n : ℕ), (Polynomial.Chebyshev.U R ↑n).degree = ↑n

theorem Polynomial.Chebyshev.natDegree_U_natCast E0 #

∀ (R : Type u_1) [inst : CommRing R] [IsDomain R] [NeZero 2] (n : ℕ), (Polynomial.Chebyshev.U R ↑n).natDegree = n

theorem Polynomial.Chebyshev.degree_U_neg_one E1 #

∀ (R : Type u_1) [inst : CommRing R], (Polynomial.Chebyshev.U R (-1)).degree = ⊥

theorem Polynomial.Chebyshev.natDegree_U_neg_one E1 #

∀ (R : Type u_1) [inst : CommRing R], (Polynomial.Chebyshev.U R (-1)).natDegree = 0

theorem Polynomial.Chebyshev.degree_U_of_ne_neg_one E1 #

∀ (R : Type u_1) [inst : CommRing R] [IsDomain R] [NeZero 2] (n : ℤ),
  n ≠ -1 → (Polynomial.Chebyshev.U R n).degree = ↑((n + 1).natAbs - 1)

theorem Polynomial.Chebyshev.natDegree_U E1 #

∀ (R : Type u_1) [inst : CommRing R] [IsDomain R] [NeZero 2] (n : ℤ),
  (Polynomial.Chebyshev.U R n).natDegree = (n + 1).natAbs - 1

theorem Polynomial.Chebyshev.leadingCoeff_U_natCast E0 #

∀ (R : Type u_1) [inst : CommRing R] [IsDomain R] [NeZero 2] (n : ℕ), (Polynomial.Chebyshev.U R ↑n).leadingCoeff = 2 ^ n

theorem Polynomial.Chebyshev.U_eval_neg E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℕ) (x : R),
  Polynomial.eval (-x) (Polynomial.Chebyshev.U R ↑n) =
    ↑↑(↑n).negOnePow * Polynomial.eval x (Polynomial.Chebyshev.U R ↑n)

theorem Polynomial.Chebyshev.U_ne_zero E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ) [IsDomain R] [NeZero 2], n ≠ -1 → Polynomial.Chebyshev.U R n ≠ 0

theorem Polynomial.Chebyshev.U_eq_zero_iff E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ) [IsDomain R] [NeZero 2], Polynomial.Chebyshev.U R n = 0 ↔ n = -1

theorem Polynomial.Chebyshev.U_eq_X_mul_U_add_T E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.U R (n + 1) = Polynomial.X * Polynomial.Chebyshev.U R n + Polynomial.Chebyshev.T R (n + 1)

theorem Polynomial.Chebyshev.T_eq_U_sub_X_mul_U E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.T R n = Polynomial.Chebyshev.U R n - Polynomial.X * Polynomial.Chebyshev.U R (n - 1)

theorem Polynomial.Chebyshev.T_eq_X_mul_T_sub_pol_U E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.T R (n + 2) =
    Polynomial.X * Polynomial.Chebyshev.T R (n + 1) - (1 - Polynomial.X ^ 2) * Polynomial.Chebyshev.U R n

theorem Polynomial.Chebyshev.one_sub_X_sq_mul_U_eq_pol_in_T E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  (1 - Polynomial.X ^ 2) * Polynomial.Chebyshev.U R n =
    Polynomial.X * Polynomial.Chebyshev.T R (n + 1) - Polynomial.Chebyshev.T R (n + 2)

theorem Polynomial.Chebyshev.T_eq_X_mul_U_sub_U E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.T R (n + 2) = Polynomial.X * Polynomial.Chebyshev.U R (n + 1) - Polynomial.Chebyshev.U R n

theorem Polynomial.Chebyshev.two_mul_T_eq_U_sub_U E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  2 * Polynomial.Chebyshev.T R (n + 2) = Polynomial.Chebyshev.U R (n + 2) - Polynomial.Chebyshev.U R n

theorem Polynomial.Chebyshev.U_eq_two_mul_T_add_U E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.U R (n + 2) = 2 * Polynomial.Chebyshev.T R (n + 2) + Polynomial.Chebyshev.U R n

theorem Polynomial.Chebyshev.U_mem_span_T E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℕ),
  Polynomial.Chebyshev.U R ↑n ∈ Submodule.span ℕ ((fun m ↦ Polynomial.Chebyshev.T R ↑m) '' Set.Icc 0 n)

def Polynomial.Chebyshev.C E3 #

(R : Type u_1) → [inst : CommRing R] → ℤ → Polynomial R

C n is the nth rescaled Chebyshev polynomial of the first kind (also known as a Vieta–Lucas polynomial), given by $C_n(2x) = 2T_n(x)$. See Polynomial.Chebyshev.C_comp_two_mul_X.

theorem Polynomial.Chebyshev.C_add_two E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.C R (n + 2) = Polynomial.X * Polynomial.Chebyshev.C R (n + 1) - Polynomial.Chebyshev.C R n

theorem Polynomial.Chebyshev.C_add_one E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.C R (n + 1) = Polynomial.X * Polynomial.Chebyshev.C R n - Polynomial.Chebyshev.C R (n - 1)

theorem Polynomial.Chebyshev.C_sub_two E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.C R (n - 2) = Polynomial.X * Polynomial.Chebyshev.C R (n - 1) - Polynomial.Chebyshev.C R n

theorem Polynomial.Chebyshev.C_sub_one E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.C R (n - 1) = Polynomial.X * Polynomial.Chebyshev.C R n - Polynomial.Chebyshev.C R (n + 1)

theorem Polynomial.Chebyshev.C_eq E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.C R n = Polynomial.X * Polynomial.Chebyshev.C R (n - 1) - Polynomial.Chebyshev.C R (n - 2)

theorem Polynomial.Chebyshev.C_zero E0 #

∀ (R : Type u_1) [inst : CommRing R], Polynomial.Chebyshev.C R 0 = 2

theorem Polynomial.Chebyshev.C_one E0 #

∀ (R : Type u_1) [inst : CommRing R], Polynomial.Chebyshev.C R 1 = Polynomial.X

theorem Polynomial.Chebyshev.C_neg_one E1 #

∀ (R : Type u_1) [inst : CommRing R], Polynomial.Chebyshev.C R (-1) = Polynomial.X

theorem Polynomial.Chebyshev.C_two E1 #

∀ (R : Type u_1) [inst : CommRing R], Polynomial.Chebyshev.C R 2 = Polynomial.X ^ 2 - 2

theorem Polynomial.Chebyshev.C_neg E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ), Polynomial.Chebyshev.C R (-n) = Polynomial.Chebyshev.C R n

theorem Polynomial.Chebyshev.C_natAbs E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ), Polynomial.Chebyshev.C R ↑n.natAbs = Polynomial.Chebyshev.C R n

theorem Polynomial.Chebyshev.C_neg_two E1 #

∀ (R : Type u_1) [inst : CommRing R], Polynomial.Chebyshev.C R (-2) = Polynomial.X ^ 2 - 2

theorem Polynomial.Chebyshev.C_comp_two_mul_X E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  (Polynomial.Chebyshev.C R n).comp (2 * Polynomial.X) = 2 * Polynomial.Chebyshev.T R n

theorem Polynomial.Chebyshev.C_eval_two E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ), Polynomial.eval 2 (Polynomial.Chebyshev.C R n) = 2

theorem Polynomial.Chebyshev.C_eval_neg_two E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ), Polynomial.eval (-2) (Polynomial.Chebyshev.C R n) = 2 * ↑↑n.negOnePow

theorem Polynomial.Chebyshev.C_eq_two_mul_T_comp_half_mul_X E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : Invertible 2] (n : ℤ),
  Polynomial.Chebyshev.C R n = 2 * (Polynomial.Chebyshev.T R n).comp (Polynomial.C ⅟2 * Polynomial.X)

theorem Polynomial.Chebyshev.T_eq_half_mul_C_comp_two_mul_X E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : Invertible 2] (n : ℤ),
  Polynomial.Chebyshev.T R n = Polynomial.C ⅟2 * (Polynomial.Chebyshev.C R n).comp (2 * Polynomial.X)

def Polynomial.Chebyshev.S E3 #

(R : Type u_1) → [inst : CommRing R] → ℤ → Polynomial R

S n is the nth rescaled Chebyshev polynomial of the second kind (also known as a Vieta–Fibonacci polynomial), given by $S_n(2x) = U_n(x)$. See Polynomial.Chebyshev.S_comp_two_mul_X.

theorem Polynomial.Chebyshev.S_add_two E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.S R (n + 2) = Polynomial.X * Polynomial.Chebyshev.S R (n + 1) - Polynomial.Chebyshev.S R n

theorem Polynomial.Chebyshev.S_add_one E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.S R (n + 1) = Polynomial.X * Polynomial.Chebyshev.S R n - Polynomial.Chebyshev.S R (n - 1)

theorem Polynomial.Chebyshev.S_sub_two E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.S R (n - 2) = Polynomial.X * Polynomial.Chebyshev.S R (n - 1) - Polynomial.Chebyshev.S R n

theorem Polynomial.Chebyshev.S_sub_one E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.S R (n - 1) = Polynomial.X * Polynomial.Chebyshev.S R n - Polynomial.Chebyshev.S R (n + 1)

theorem Polynomial.Chebyshev.S_eq E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.S R n = Polynomial.X * Polynomial.Chebyshev.S R (n - 1) - Polynomial.Chebyshev.S R (n - 2)

theorem Polynomial.Chebyshev.S_zero E0 #

∀ (R : Type u_1) [inst : CommRing R], Polynomial.Chebyshev.S R 0 = 1

theorem Polynomial.Chebyshev.S_one E0 #

∀ (R : Type u_1) [inst : CommRing R], Polynomial.Chebyshev.S R 1 = Polynomial.X

theorem Polynomial.Chebyshev.S_neg_one E0 #

∀ (R : Type u_1) [inst : CommRing R], Polynomial.Chebyshev.S R (-1) = 0

theorem Polynomial.Chebyshev.S_two E1 #

∀ (R : Type u_1) [inst : CommRing R], Polynomial.Chebyshev.S R 2 = Polynomial.X ^ 2 - 1

theorem Polynomial.Chebyshev.S_neg_two E0 #

∀ (R : Type u_1) [inst : CommRing R], Polynomial.Chebyshev.S R (-2) = -1

theorem Polynomial.Chebyshev.S_neg_sub_one E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ), Polynomial.Chebyshev.S R (-n - 1) = -Polynomial.Chebyshev.S R (n - 1)

theorem Polynomial.Chebyshev.S_neg E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ), Polynomial.Chebyshev.S R (-n) = -Polynomial.Chebyshev.S R (n - 2)

theorem Polynomial.Chebyshev.S_neg_sub_two E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ), Polynomial.Chebyshev.S R (-n - 2) = -Polynomial.Chebyshev.S R n

theorem Polynomial.Chebyshev.S_eval_two E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ), Polynomial.eval 2 (Polynomial.Chebyshev.S R n) = ↑n + 1

theorem Polynomial.Chebyshev.S_eval_neg_two E0 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.eval (-2) (Polynomial.Chebyshev.S R n) = ↑↑n.negOnePow * (↑n + 1)

theorem Polynomial.Chebyshev.S_comp_two_mul_X E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  (Polynomial.Chebyshev.S R n).comp (2 * Polynomial.X) = Polynomial.Chebyshev.U R n

theorem Polynomial.Chebyshev.S_sq_add_S_sq E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.S R n ^ 2 + Polynomial.Chebyshev.S R (n + 1) ^ 2 -
      Polynomial.X * Polynomial.Chebyshev.S R n * Polynomial.Chebyshev.S R (n + 1) =
    1

theorem Polynomial.Chebyshev.S_eq_U_comp_half_mul_X E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : Invertible 2] (n : ℤ),
  Polynomial.Chebyshev.S R n = (Polynomial.Chebyshev.U R n).comp (Polynomial.C ⅟2 * Polynomial.X)

theorem Polynomial.Chebyshev.S_eq_X_mul_S_add_C E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  2 * Polynomial.Chebyshev.S R (n + 1) = Polynomial.X * Polynomial.Chebyshev.S R n + Polynomial.Chebyshev.C R (n + 1)

theorem Polynomial.Chebyshev.C_eq_S_sub_X_mul_S E1 #

∀ (R : Type u_1) [inst : CommRing R] (n : ℤ),
  Polynomial.Chebyshev.C R n = 2 * Polynomial.Chebyshev.S R n - Polynomial.X * Polynomial.Chebyshev.S R (n - 1)

theorem Polynomial.Chebyshev.map_T E0 #

∀ {R : Type u_1} {R' : Type u_2} [inst : CommRing R] [inst_1 : CommRing R'] (f : R →+* R') (n : ℤ),
  Polynomial.map f (Polynomial.Chebyshev.T R n) = Polynomial.Chebyshev.T R' n

theorem Polynomial.Chebyshev.map_U E0 #

∀ {R : Type u_1} {R' : Type u_2} [inst : CommRing R] [inst_1 : CommRing R'] (f : R →+* R') (n : ℤ),
  Polynomial.map f (Polynomial.Chebyshev.U R n) = Polynomial.Chebyshev.U R' n

theorem Polynomial.Chebyshev.map_C E0 #

∀ {R : Type u_1} {R' : Type u_2} [inst : CommRing R] [inst_1 : CommRing R'] (f : R →+* R') (n : ℤ),
  Polynomial.map f (Polynomial.Chebyshev.C R n) = Polynomial.Chebyshev.C R' n

theorem Polynomial.Chebyshev.map_S E0 #

∀ {R : Type u_1} {R' : Type u_2} [inst : CommRing R] [inst_1 : CommRing R'] (f : R →+* R') (n : ℤ),
  Polynomial.map f (Polynomial.Chebyshev.S R n) = Polynomial.Chebyshev.S R' n

theorem Polynomial.Chebyshev.aeval_T E0 #

∀ {R : Type u_1} {R' : Type u_2} [inst : CommRing R] [inst_1 : CommRing R'] [inst_2 : Algebra R R'] (x : R') (n : ℤ),
  (Polynomial.aeval x) (Polynomial.Chebyshev.T R n) = Polynomial.eval x (Polynomial.Chebyshev.T R' n)

theorem Polynomial.Chebyshev.aeval_U E0 #

∀ {R : Type u_1} {R' : Type u_2} [inst : CommRing R] [inst_1 : CommRing R'] [inst_2 : Algebra R R'] (x : R') (n : ℤ),
  (Polynomial.aeval x) (Polynomial.Chebyshev.U R n) = Polynomial.eval x (Polynomial.Chebyshev.U R' n)

theorem Polynomial.Chebyshev.aeval_C E0 #

∀ {R : Type u_1} {R' : Type u_2} [inst : CommRing R] [inst_1 : CommRing R'] [inst_2 : Algebra R R'] (x : R') (n : ℤ),
  (Polynomial.aeval x) (Polynomial.Chebyshev.C R n) = Polynomial.eval x (Polynomial.Chebyshev.C R' n)

theorem Polynomial.Chebyshev.aeval_S E0 #

∀ {R : Type u_1} {R' : Type u_2} [inst : CommRing R] [inst_1 : CommRing R'] [inst_2 : Algebra R R'] (x : R') (n : ℤ),
  (Polynomial.aeval x) (Polynomial.Chebyshev.S R n) = Polynomial.eval x (Polynomial.Chebyshev.S R' n)

theorem Polynomial.Chebyshev.algebraMap_eval_T E0 #

∀ {R : Type u_1} {R' : Type u_2} [inst : CommRing R] [inst_1 : CommRing R'] [inst_2 : Algebra R R'] (x : R) (n : ℤ),
  (algebraMap R R') (Polynomial.eval x (Polynomial.Chebyshev.T R n)) =
    Polynomial.eval ((algebraMap R R') x) (Polynomial.Chebyshev.T R' n)

theorem Polynomial.Chebyshev.algebraMap_eval_U E0 #

∀ {R : Type u_1} {R' : Type u_2} [inst : CommRing R] [inst_1 : CommRing R'] [inst_2 : Algebra R R'] (x : R) (n : ℤ),
  (algebraMap R R') (Polynomial.eval x (Polynomial.Chebyshev.U R n)) =
    Polynomial.eval ((algebraMap R R') x) (Polynomial.Chebyshev.U R' n)

theorem Polynomial.Chebyshev.algebraMap_eval_C E0 #

∀ {R : Type u_1} {R' : Type u_2} [inst : CommRing R] [inst_1 : CommRing R'] [inst_2 : Algebra R R'] (x : R) (n : ℤ),
  (algebraMap R R') (Polynomial.eval x (Polynomial.Chebyshev.C R n)) =
    Polynomial.eval ((algebraMap R R') x) (Polynomial.Chebyshev.C R' n)

theorem Polynomial.Chebyshev.algebraMap_eval_S E0 #

∀ {R : Type u_1} {R' : Type u_2} [inst : CommRing R] [inst_1 : CommRing R'] [inst_2 : Algebra R R'] (x : R) (n : ℤ),
  (algebraMap R R') (Polynomial.eval x (Polynomial.Chebyshev.S R n)) =
    Polynomial.eval ((algebraMap R R') x) (Polynomial.Chebyshev.S R' n)

theorem Polynomial.Chebyshev.T_derivative_eq_U E1 #

∀ {R : Type u_1} [inst : CommRing R] (n : ℤ),
  Polynomial.derivative (Polynomial.Chebyshev.T R n) = ↑n * Polynomial.Chebyshev.U R (n - 1)

theorem Polynomial.Chebyshev.T_derivative_mem_span_T E1 #

∀ {R : Type u_1} [inst : CommRing R] (n : ℕ),
  Polynomial.derivative (Polynomial.Chebyshev.T R ↑n) ∈
    Submodule.span ℕ ((fun m ↦ Polynomial.Chebyshev.T R ↑m) '' Set.Ico 0 n)

theorem Polynomial.Chebyshev.T_iterate_derivative_mem_span_T E1 #

∀ {R : Type u_1} [inst : CommRing R] (n k : ℕ),
  (⇑Polynomial.derivative)^[k] (Polynomial.Chebyshev.T R ↑n) ∈
    Submodule.span ℕ ((fun m ↦ Polynomial.Chebyshev.T R ↑m) '' Set.Icc 0 (n - k))

theorem Polynomial.Chebyshev.one_sub_X_sq_mul_derivative_T_eq_poly_in_T E1 #

∀ {R : Type u_1} [inst : CommRing R] (n : ℤ),
  (1 - Polynomial.X ^ 2) * Polynomial.derivative (Polynomial.Chebyshev.T R (n + 1)) =
    (↑n + 1) * (Polynomial.Chebyshev.T R n - Polynomial.X * Polynomial.Chebyshev.T R (n + 1))

theorem Polynomial.Chebyshev.add_one_mul_T_eq_poly_in_U E1 #

∀ {R : Type u_1} [inst : CommRing R] (n : ℤ),
  (↑n + 1) * Polynomial.Chebyshev.T R (n + 1) =
    Polynomial.X * Polynomial.Chebyshev.U R n -
      (1 - Polynomial.X ^ 2) * Polynomial.derivative (Polynomial.Chebyshev.U R n)

theorem Polynomial.Chebyshev.add_one_mul_self_mul_T_eq_poly_in_T E1 #

∀ {R : Type u_1} [inst : CommRing R] (n : ℤ),
  (↑n + 1) * ↑n * Polynomial.Chebyshev.T R (n + 1) =
    ↑n * Polynomial.X * Polynomial.derivative (Polynomial.Chebyshev.T R (n + 1)) -
      (↑n + 1) * Polynomial.derivative (Polynomial.Chebyshev.T R n)

theorem Polynomial.Chebyshev.one_sub_X_sq_mul_derivative_derivative_T_eq_poly_in_T E1 #

∀ {R : Type u_1} [inst : CommRing R] (n : ℤ),
  (1 - Polynomial.X ^ 2) * (⇑Polynomial.derivative)^[2] (Polynomial.Chebyshev.T R n) =
    Polynomial.X * Polynomial.derivative (Polynomial.Chebyshev.T R n) - ↑n ^ 2 * Polynomial.Chebyshev.T R n

theorem Polynomial.Chebyshev.one_sub_X_sq_mul_derivative_derivative_U_eq_poly_in_U E1 #

∀ {R : Type u_1} [inst : CommRing R] (n : ℤ),
  (1 - Polynomial.X ^ 2) * (⇑Polynomial.derivative)^[2] (Polynomial.Chebyshev.U R n) =
    3 * Polynomial.X * Polynomial.derivative (Polynomial.Chebyshev.U R n) - (↑n + 2) * ↑n * Polynomial.Chebyshev.U R n

theorem Polynomial.Chebyshev.one_sub_X_sq_mul_iterate_derivative_T_eq_poly_in_T E1 #

∀ {R : Type u_1} [inst : CommRing R] (n : ℤ) (k : ℕ),
  (1 - Polynomial.X ^ 2) * (⇑Polynomial.derivative)^[k + 2] (Polynomial.Chebyshev.T R n) =
    (2 * ↑k + 1) * Polynomial.X * (⇑Polynomial.derivative)^[k + 1] (Polynomial.Chebyshev.T R n) -
      (↑n ^ 2 - ↑k ^ 2) * (⇑Polynomial.derivative)^[k] (Polynomial.Chebyshev.T R n)

theorem Polynomial.Chebyshev.one_sub_X_sq_mul_iterate_derivative_U_eq_poly_in_U E1 #

∀ {R : Type u_1} [inst : CommRing R] (n : ℤ) (k : ℕ),
  (1 - Polynomial.X ^ 2) * (⇑Polynomial.derivative)^[k + 2] (Polynomial.Chebyshev.U R n) =
    (2 * ↑k + 3) * Polynomial.X * (⇑Polynomial.derivative)^[k + 1] (Polynomial.Chebyshev.U R n) -
      ((↑n + 1) ^ 2 - (↑k + 1) ^ 2) * (⇑Polynomial.derivative)^[k] (Polynomial.Chebyshev.U R n)

theorem Polynomial.Chebyshev.one_sub_X_sq_mul_iterate_derivative_T_eval E1 #

∀ {R : Type u_1} [inst : CommRing R] (n : ℤ) (k : ℕ) (x : R),
  (1 - x ^ 2) * Polynomial.eval x ((⇑Polynomial.derivative)^[k + 2] (Polynomial.Chebyshev.T R n)) =
    (2 * ↑k + 1) * x * Polynomial.eval x ((⇑Polynomial.derivative)^[k + 1] (Polynomial.Chebyshev.T R n)) -
      (↑n ^ 2 - ↑k ^ 2) * Polynomial.eval x ((⇑Polynomial.derivative)^[k] (Polynomial.Chebyshev.T R n))

theorem Polynomial.Chebyshev.one_sub_X_sq_mul_iterate_derivative_U_eval E1 #

∀ {R : Type u_1} [inst : CommRing R] (n : ℤ) (k : ℕ) (x : R),
  (1 - x ^ 2) * Polynomial.eval x ((⇑Polynomial.derivative)^[k + 2] (Polynomial.Chebyshev.U R n)) =
    (2 * ↑k + 3) * x * Polynomial.eval x ((⇑Polynomial.derivative)^[k + 1] (Polynomial.Chebyshev.U R n)) -
      ((↑n + 1) ^ 2 - (↑k + 1) ^ 2) * Polynomial.eval x ((⇑Polynomial.derivative)^[k] (Polynomial.Chebyshev.U R n))

theorem Polynomial.Chebyshev.iterate_derivative_T_eval_one_recurrence E1 #

∀ {R : Type u_1} [inst : CommRing R] (n : ℤ) (k : ℕ),
  (2 * ↑k + 1) * Polynomial.eval 1 ((⇑Polynomial.derivative)^[k + 1] (Polynomial.Chebyshev.T R n)) =
    (↑n ^ 2 - ↑k ^ 2) * Polynomial.eval 1 ((⇑Polynomial.derivative)^[k] (Polynomial.Chebyshev.T R n))

theorem Polynomial.Chebyshev.iterate_derivative_U_eval_one_recurrence E1 #

∀ {R : Type u_1} [inst : CommRing R] (n : ℤ) (k : ℕ),
  (2 * ↑k + 3) * Polynomial.eval 1 ((⇑Polynomial.derivative)^[k + 1] (Polynomial.Chebyshev.U R n)) =
    ((↑n + 1) ^ 2 - (↑k + 1) ^ 2) * Polynomial.eval 1 ((⇑Polynomial.derivative)^[k] (Polynomial.Chebyshev.U R n))

theorem Polynomial.Chebyshev.iterate_derivative_T_eval_zero_recurrence E1 #

∀ {R : Type u_1} [inst : CommRing R] (n : ℤ) (k : ℕ),
  Polynomial.eval 0 ((⇑Polynomial.derivative)^[k + 2] (Polynomial.Chebyshev.T R n)) =
    -(↑n ^ 2 - ↑k ^ 2) * Polynomial.eval 0 ((⇑Polynomial.derivative)^[k] (Polynomial.Chebyshev.T R n))

theorem Polynomial.Chebyshev.iterate_derivative_U_eval_zero_recurrence E1 #

∀ {R : Type u_1} [inst : CommRing R] (n : ℤ) (k : ℕ),
  Polynomial.eval 0 ((⇑Polynomial.derivative)^[k + 2] (Polynomial.Chebyshev.U R n)) =
    -((↑n + 1) ^ 2 - (↑k + 1) ^ 2) * Polynomial.eval 0 ((⇑Polynomial.derivative)^[k] (Polynomial.Chebyshev.U R n))

theorem Polynomial.Chebyshev.iterate_derivative_T_eval_one E1 #

∀ {R : Type u_1} [inst : CommRing R] (n : ℤ) (k : ℕ),
  ↑(∏ l ∈ Finset.range k, (2 * l + 1)) * Polynomial.eval 1 ((⇑Polynomial.derivative)^[k] (Polynomial.Chebyshev.T R n)) =
    ↑(∏ l ∈ Finset.range k, (n ^ 2 - ↑l ^ 2))

theorem Polynomial.Chebyshev.iterate_derivative_U_eval_one E1 #

∀ {R : Type u_1} [inst : CommRing R] (n : ℤ) (k : ℕ),
  ↑(∏ l ∈ Finset.range k, (2 * l + 3)) * Polynomial.eval 1 ((⇑Polynomial.derivative)^[k] (Polynomial.Chebyshev.U R n)) =
    ↑(∏ l ∈ Finset.range k, ((n + 1) ^ 2 - (↑l + 1) ^ 2)) * (↑n + 1)

theorem Polynomial.Chebyshev.derivative_T_eval_one E1 #

∀ {R : Type u_1} [inst : CommRing R] (n : ℤ),
  Polynomial.eval 1 (Polynomial.derivative (Polynomial.Chebyshev.T R n)) = ↑n ^ 2

theorem Polynomial.Chebyshev.derivative_U_eval_one E1 #

∀ {R : Type u_1} [inst : CommRing R] (n : ℤ),
  3 * Polynomial.eval 1 (Polynomial.derivative (Polynomial.Chebyshev.U R n)) = (↑n + 2) * (↑n + 1) * ↑n

theorem Polynomial.Chebyshev.iterate_derivative_T_eval_one_eq_div E1 #

∀ {𝔽 : Type u_3} [inst : Field 𝔽] [CharZero 𝔽] (n : ℤ) (k : ℕ),
  Polynomial.eval 1 ((⇑Polynomial.derivative)^[k] (Polynomial.Chebyshev.T 𝔽 n)) =
    ↑(∏ l ∈ Finset.range k, (n ^ 2 - ↑l ^ 2)) / ↑(∏ l ∈ Finset.range k, (2 * l + 1))

theorem Polynomial.Chebyshev.iterate_derivative_U_eval_one_eq_div E1 #

∀ {𝔽 : Type u_3} [inst : Field 𝔽] [CharZero 𝔽] (n : ℤ) (k : ℕ),
  Polynomial.eval 1 ((⇑Polynomial.derivative)^[k] (Polynomial.Chebyshev.U 𝔽 n)) =
    ↑(∏ l ∈ Finset.range k, ((n + 1) ^ 2 - (↑l + 1) ^ 2)) * (↑n + 1) / ↑(∏ l ∈ Finset.range k, (2 * l + 3))

theorem Polynomial.Chebyshev.iterate_derivative_T_eval_one_dvd E1 #

∀ {𝔽 : Type u_3} [inst : Field 𝔽] (n : ℤ) (k : ℕ),
  ↑(∏ l ∈ Finset.range k, (2 * l + 1)) ∣ ↑(∏ l ∈ Finset.range k, (n ^ 2 - ↑l ^ 2))

theorem Polynomial.Chebyshev.iterate_derivative_U_eval_one_dvd E1 #

∀ {𝔽 : Type u_3} [inst : Field 𝔽] (n : ℤ) (k : ℕ),
  ↑(∏ l ∈ Finset.range k, (2 * l + 3)) ∣ ↑(∏ l ∈ Finset.range k, ((n + 1) ^ 2 - (↑l + 1) ^ 2)) * (↑n + 1)

theorem Polynomial.Chebyshev.derivative_U_eval_one_eq_div E1 #

∀ {𝔽 : Type u_3} [inst : Field 𝔽] [neZero3 : NeZero 3] (n : ℤ),
  Polynomial.eval 1 (Polynomial.derivative (Polynomial.Chebyshev.U 𝔽 n)) = (↑n + 2) * (↑n + 1) * ↑n / 3

theorem Polynomial.Chebyshev.derivative_U_eval_one_dvd E1 #

∀ {𝔽 : Type u_3} [inst : Field 𝔽] (n : ℤ), 3 ∣ (↑n + 2) * (↑n + 1) * ↑n

theorem Polynomial.Chebyshev.T_mul_T E3 #

∀ (R : Type u_1) [inst : CommRing R] (m k : ℤ),
  2 * Polynomial.Chebyshev.T R m * Polynomial.Chebyshev.T R k =
    Polynomial.Chebyshev.T R (m + k) + Polynomial.Chebyshev.T R (m - k)

Twice the product of two Chebyshev T polynomials is the sum of two other Chebyshev T polynomials.

theorem Polynomial.Chebyshev.C_mul_C E3 #

∀ (R : Type u_1) [inst : CommRing R] (m k : ℤ),
  Polynomial.Chebyshev.C R m * Polynomial.Chebyshev.C R k =
    Polynomial.Chebyshev.C R (m + k) + Polynomial.Chebyshev.C R (m - k)

The product of two Chebyshev C polynomials is the sum of two other Chebyshev C polynomials.

theorem Polynomial.Chebyshev.T_mul E3 #

∀ (R : Type u_1) [inst : CommRing R] (m n : ℤ),
  Polynomial.Chebyshev.T R (m * n) = (Polynomial.Chebyshev.T R m).comp (Polynomial.Chebyshev.T R n)

The (m * n)-th Chebyshev T polynomial is the composition of the m-th and n-th.

theorem Polynomial.Chebyshev.C_mul E3 #

∀ (R : Type u_1) [inst : CommRing R] (m n : ℤ),
  Polynomial.Chebyshev.C R (m * n) = (Polynomial.Chebyshev.C R m).comp (Polynomial.Chebyshev.C R n)

The (m * n)-th Chebyshev C polynomial is the composition of the m-th and n-th.

Deprecated aliases

NameNew nameSince
Polynomial.Chebyshev.chebyshevTsequencePolynomial.Chebyshev.chebyshevTSequence2026-10-08