Metamath Proof Explorer


Theorem tanhf

Description: Domain and codomain of the tanh function. (Contributed by Jon Pennant, 22-Oct-2026)

Ref Expression
Assertion tanhf ⊢ tanh : cosh -1 ℂ ∖ 0 ⟶ ℂ

Proof

Step Hyp Ref Expression
1 df-tanh ⊢ tanh = x ∈ cosh -1 ℂ ∖ 0 ⟼ sinh ⁡ x cosh ⁡ x
2 coshf ⊢ cosh : ℂ ⟶ ℂ
3 ffn ⊢ cosh : ℂ ⟶ ℂ → cosh Fn ℂ
4 elpreima ⊢ cosh Fn ℂ → x ∈ cosh -1 ℂ ∖ 0 ↔ x ∈ ℂ ∧ cosh ⁡ x ∈ ℂ ∖ 0
5 2 3 4 mp2b ⊢ x ∈ cosh -1 ℂ ∖ 0 ↔ x ∈ ℂ ∧ cosh ⁡ x ∈ ℂ ∖ 0
6 5 simplbi ⊢ x ∈ cosh -1 ℂ ∖ 0 → x ∈ ℂ
7 sinhcl ⊢ x ∈ ℂ → sinh ⁡ x ∈ ℂ
8 6 7 syl ⊢ x ∈ cosh -1 ℂ ∖ 0 → sinh ⁡ x ∈ ℂ
9 coshcl ⊢ x ∈ ℂ → cosh ⁡ x ∈ ℂ
10 6 9 syl ⊢ x ∈ cosh -1 ℂ ∖ 0 → cosh ⁡ x ∈ ℂ
11 5 simprbi ⊢ x ∈ cosh -1 ℂ ∖ 0 → cosh ⁡ x ∈ ℂ ∖ 0
12 11 eldifsnbd ⊢ x ∈ cosh -1 ℂ ∖ 0 → cosh ⁡ x ≠ 0
13 8 10 12 divcld ⊢ x ∈ cosh -1 ℂ ∖ 0 → sinh ⁡ x cosh ⁡ x ∈ ℂ
14 1 13 fmpti ⊢ tanh : cosh -1 ℂ ∖ 0 ⟶ ℂ