tanh_const_mul_hasTemperateGrowth
theoremverifiedformalizationimported Lean
tanh(κx) 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 @[fun_prop] lemma tanh_const_mul_hasTemperateGrowth (κ : ℝ) : Function.HasTemperateGrowth (fun x => Real.tanh (κ * x))
- Formalizes
- Physlib, `tanh_const_mul_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_const_mul_hasTemperateGrowth← tanh_const_mul_hasTemperateGrowth (Physlib/Mathematics/ForMathlib/Trigonometry/Tanh.lean:210): verbatim
- Verified
- 09 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 4
- tanh_const_mul_iteratedDeriv_norm_eq_iteratedFDeriv_normNorm of Iterated derivative for scaled tanh is equal to the norm of its Fderiv
- iteratedDeriv_tanh_const_mulIterated derivative for scaled tanh
- 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(κx) has temperate growth -/@[fun_prop]lemma tanh_const_mul_hasTemperateGrowth (κ : ℝ) : Function.HasTemperateGrowth (fun x => Real.tanh (κ * x)) := by constructor · have h : (fun x => Real.tanh (κ * x)) = (Real.tanh ∘ (fun x => κ * x)) := rfl have h' : ContDiff ℝ ∞ (fun x => κ * x) := by have h'': (fun x : ℝ => κ * x) = fun x => κ • x := rfl rw [contDiff_infty, h''] intro n apply contDiff_const_smul rw [h] apply ContDiff.comp contDiff_top_tanh h' · intro n obtain ⟨D, hD⟩ := iteratedDeriv_tanh_bounded n use 0 use D * (|κ| ^ n) intro x rw [tanh_const_mul_iteratedDeriv_norm_eq_iteratedFDeriv_norm, iteratedDeriv_tanh_const_mul] field_simp rw [abs_mul, abs_pow, mul_comm, mul_comm, mul_comm D (|κ| ^ n)] apply mul_le_mul_of_nonneg_left apply hD simp only [abs_nonneg, pow_nonneg]