All proofs
Project-declaredLean 4.32.0 · mathlib@81a5d257c8e4

Iterated Deriv tanh is polynomial of tanh

iteratedDeriv_tanh_is_polynomial_of_tanh

Plain-language statement

The nth derivative of Tanh(x) is a polynomial of Tanh(x)

Exact Lean statement

lemma iteratedDeriv_tanh_is_polynomial_of_tanh (n : ℕ) : ∃ P : Polynomial ℝ, ∀ x,
    iteratedDeriv n Real.tanh x = P.eval (Real.tanh x)

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma iteratedDeriv_tanh_is_polynomial_of_tanh (n : ) :  P : Polynomial ,  x,    iteratedDeriv n Real.tanh x = P.eval (Real.tanh x) := by  induction n with  | zero =>    rw [iteratedDeriv_zero]    use Polynomial.X    simp  | succ n ih =>    obtain P, h' := ih    rw [iteratedDeriv_succ]    have h'': iteratedDeriv n tanh = (fun x => Polynomial.eval (tanh x) P) := by      funext x      apply h'    have h_comp : (fun x => Polynomial.eval (tanh x) P) = (fun t => P.eval t) ∘ tanh := by      funext x      simp [Function.comp_apply]    rw [h'', h_comp]    use Polynomial.derivative P * (1 - Polynomial.X^2)    intro x    rw [deriv_comp, Polynomial.deriv, deriv_tanh]    simp only [Polynomial.eval_mul, Polynomial.eval_sub, Polynomial.eval_one, Polynomial.eval_pow,      Polynomial.eval_X]    case h.hh =>      have h': Real.tanh = (sinh / cosh) := by        funext x        rw [Pi.div_apply, tanh_eq_sinh_div_cosh]      rw [h']      apply DifferentiableAt.div      · apply Real.differentiable_sinh      · apply Real.differentiable_cosh      · exact ne_of_gt (Real.cosh_pos x)    case h.hh=>      apply Polynomial.differentiableAt
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/Mathematics/Trigonometry/Tanh.lean:62-94

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.32.0

Adiabatic relation log

adiabatic_relation_log

Plain-language statement

Adiabatic relation in logarithmic form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then c * log (Ua/Ub) + log (Va/Vb) = 0.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record
Project-declaredLean 4.32.0

Adiabatic relation Ua Ub Va Vb

adiabatic_relation_UaUbVaVb

Plain-language statement

Adiabatic relation in product form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then (Ua/Ub)^c * (Va/Vb) = 1.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record