English
The real cotangent is the real part of the complex cotangent on real inputs; i.e., for x ∈ ℝ, Real.cot x = Re( Complex.cot( Complex.ofReal x ) ).
Русский
Реальная котангенс — вещественная часть комплексной котангенс на вещественных входах; для x ∈ ℝ: Real.cot x = Re( Complex.cot( Complex.ofReal x ) ).
LaTeX
$$$$ \operatorname{Real.cot}(x) = \operatorname{Re}\bigl( \operatorname{cot}(\operatorname{Complex.ofReal}(x)) \bigr). $$$$
Lean4
/-- The real cotangent function, defined as the real part of the complex cotangent -/
nonrec def cot (x : ℝ) : ℝ :=
(cot x).re