contDiff_top_tanh
theoremverifiedformalizationimported Lean
tanh is infinitely differentiable
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 contDiff_top_tanh : ContDiff ℝ ∞ Real.tanh
- Formalizes
- Physlib, `contDiff_top_tanh`
- 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.contDiff_top_tanh← contDiff_top_tanh (Physlib/Mathematics/ForMathlib/Trigonometry/Tanh.lean:135): verbatim
- Verified
- 09 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- contDiff_tanhTanh(x) is n times continuously differentiable for all n
- Used by 2
- tanh_const_mul_hasTemperateGrowthtanh(κx) has temperate growth
- tanh_hasTemperateGrowthtanh has temperate growth
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 is infinitely differentiable -/lemma contDiff_top_tanh : ContDiff ℝ ∞ Real.tanh := by rw [contDiff_infty] apply contDiff_tanh