Mathlib Phrasebook

20.1. Basic definitions🔗

Mathlib contains each of the following definitions:

Complex.sin (z : ) : #check Complex.sin Complex.cos (z : ) : #check Complex.cos Complex.tan (z : ) : #check Complex.tan

For Complex.tan, which has poles at ± π / 2, ± 3π / 2, ± 5π / 2, the junk value 0 is used:

open Complex in example (k : ) : tan (π / 2 + k * π) = 0 := k:tan (π / 2 + k * π) = 0 k:π / 2 + k * π = (2 * k + 1) * π / 2 All goals completed! 🐙

The hyperbolic variants are also available:

Complex.sinh (z : ) : #check Complex.sinh Complex.cosh (z : ) : #check Complex.cosh Complex.tanh (z : ) : #check Complex.tanh

In addition, specialised variants over the real numbers exist:

Real.sin (x : ) : #check Real.sin Real.cos (x : ) : #check Real.cos Real.tan (x : ) : #check Real.tan

as well as the "inverse" functions over the reals:

Real.arcsin : #check Real.arcsin Real.arccos (x : ) : #check Real.arccos Real.arctan (x : ) : #check Real.arctan