Documentation

CslibFrontier.Foundations.Analysis.SpecialFunctions.Hyperbolic

Elementary bounds for hyperbolic functions #

These are companions of Mathlib's Real.cosh_le_exp_half_sq, proved the same way by comparing power series term by term.

Main results #

theorem Real.sinh_le_mul_exp_half_sq {x : ℝ} (hx : 0 ≤ x) :
sinh x ≤ x * exp (x ^ 2 / 2)

sinh x ≤ x · exp (x² / 2) for x ≥ 0, the odd companion of Real.cosh_le_exp_half_sq.

theorem Real.cosh_add_mul_sinh_le_exp {m s : ℝ} (hm : 0 ≤ m) (hs : 0 ≤ s) :
cosh s + m * sinh s ≤ exp (m * s + s ^ 2 / 2)

cosh s + m · sinh s ≤ exp (m s + s² / 2) for m, s ≥ 0.

theorem Real.sinh_le_mul_cosh {x : ℝ} (hx : 0 ≤ x) :
sinh x ≤ x * cosh x

sinh x ≤ x · cosh x for x ≥ 0.

theorem Real.tanh_nonneg_iff {x : ℝ} :
0 ≤ tanh x ↔ 0 ≤ x

tanh x is nonnegative exactly when x is.

theorem Real.tanh_le_self {x : ℝ} (hx : 0 ≤ x) :
tanh x ≤ x

tanh x ≤ x for x ≥ 0.

theorem Real.tanh_half_eq_exp_sub_one_div (x : ℝ) :
tanh (x / 2) = (exp x - 1) / (exp x + 1)

tanh (x / 2) = (exp x - 1) / (exp x + 1).

theorem Real.tanh_half_le_exp_sub_one {x : ℝ} (hx : 0 ≤ x) :
tanh (x / 2) ≤ exp x - 1

tanh (x / 2) ≤ exp x - 1 for x ≥ 0.