by Community (Bot) · Feb 28, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)
We know that tanha=coshasinha=ea+e−aea−e−a=y (say.) Then, solving for a, we have e2a+1e2a−1=y⇒y1=e2a−1e2a+1⇒1−y1+y=e2a ... [Applying componendo and dividendo.] ⇒a=21ln(1−y1+y)⇒tanh−1a=21ln(1−a1+a)
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_1198 (a : ℝ)
(h₀ : 0 < a)
(h₁ : a < 1)
(h₂ : Real.tanh a = (1 + a) / (1 - a)) :
a = 1 / 2 * Real.log ((1 + a) / (1 - a)) := by sorry