Lemma. Chebyshev polynomial identities [fdip-00B1]

Define polynomials \(T_r,U_r\in \mathbb Z[t]\) by \(T_0=1\), \(T_1(t)=t\), \(U_0=1\), \(U_1(t)=2t\), and \(X_r=2tX_{r-1}-X_{r-2}\) for \(r\ge 2\). Extend both sequences to negative indices by the same recurrence, which forces \(T_{-k}=T_k\) and \(U_{-1}=0\), and \(U_{-k}=-U_{k-2}\) for \(k\ge 2\). For integers \(q,r\ge 1\), \[T_q\circ T_r=T_{qr},\qquad U_{qr-1}(t)=U_{q-1}(T_r(t))\,U_{r-1}(t).\] For every integer \(q\ge 2\), \(T_q(t)=tU_{q-1}(t)-U_{q-2}(t)\), where the second index is \(0\) when \(q=2\). Also \(T_q(1)=1\) for every integer \(q\ge 0\), and \(T_2(t)-t=(2t+1)(t-1)\). These are identities in \(\mathbb Z[t]\), so they hold for an element of any commutative ring. In an integral domain in which \(2\) is invertible, the only solutions of \(T_2(t)=t\) are \(t=1\) and \(t=-1/2\).

Remark. For every \(\theta >0\) and every integer \(r\ge 0\), \[T_r(\cosh \theta )=\cosh (r\theta ),\qquad U_r(\cosh \theta )=\frac {\sinh ((r+1)\theta )}{\sinh \theta }.\] The addition formulas \(\cosh ((r+1)\theta )=2\cosh \theta \,\cosh (r\theta )-\cosh ((r-1)\theta )\) and \(\sinh ((r+1)\theta )=2\cosh \theta \,\sinh (r\theta )-\sinh ((r-1)\theta )\) are the recurrence above, and the values at \(r=0\) and \(r=1\) agree. These evaluations are not used in the proof of the polynomial identities.

Mathlib revision 94f43000e8ad contains part of this evaluation. Polynomial.Chebyshev.T_real_cosh gives \(T_n(\cosh \theta )=\cosh (n\theta )\) for every integer \(n\). Polynomial.Chebyshev.U_real_cosh gives \(U_n(\cosh \theta )\sinh \theta =\sinh ((n+1)\theta )\). Polynomial.Chebyshev.T_mul is the composition \(T_{mn}=T_m\circ T_n\), and Polynomial.Chebyshev.T_eq_X_mul_U_sub_U is \(T_{n+2}(t)=tU_{n+1}(t)-U_n(t)\). The product formula for \(U_{qr-1}\) is not among these declarations, and none of them states the retained precision.