tanh_hasTemperateGrowth
theoremverifiedformalizationimported Lean
tanh has temperate growth
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Real in open NNReal in open Field in open scoped ContDiff in lemma tanh_hasTemperateGrowth : Function.HasTemperateGrowth Real.tanh
- Formalizes
- Physlib, `tanh_hasTemperateGrowth`
- Lean proof
- By Afiq Hatta, from github.com/leanprover-community/physlib at
e411c6e89692(Copyright (c) 2025 Afiq Hatta. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.tanh_hasTemperateGrowth← tanh_hasTemperateGrowth (Physlib/Mathematics/ForMathlib/Trigonometry/Tanh.lean:140): verbatim
- Verified
- 09 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 2
- contDiff_top_tanhtanh is infinitely differentiable
- iteratedDeriv_tanh_boundedThe nth derivative of tanh is bounded on the real line
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
set_option autoImplicit true inset_option relaxedAutoImplicit true inopen Real inopen NNReal inopen Field inopen scoped ContDiff in/-- tanh has temperate growth -/lemma tanh_hasTemperateGrowth : Function.HasTemperateGrowth Real.tanh := by constructor · apply contDiff_top_tanh · intro n use 0 obtain ⟨C, hC⟩ := iteratedDeriv_tanh_bounded n use C intro x have h_equiv : ‖iteratedFDeriv ℝ n Real.tanh x‖ = |iteratedDeriv n Real.tanh x| := by rw [← iteratedFDerivWithin_univ] rw [← iteratedDerivWithin_univ] rw [← norm_eq_abs] rw [norm_iteratedFDerivWithin_eq_norm_iteratedDerivWithin] rw [h_equiv] simp only [pow_zero, mul_one] exact hC x