The type of angles #
In this file we define Real.Angle
to be the quotient group ℝ/2πℤ
and prove a few simple lemmas
about trigonometric functions and angles.
Equations
Equations
- Real.Angle.instCoe = { coe := Real.Angle.coe }
Equations
- Real.Angle.instCircularOrder = QuotientAddGroup.circularOrder
An induction principle to deduce results for Angle
from those for ℝ
, used with
induction θ using Real.Angle.induction_on
.
Alias of Real.Angle.natCast_mul_eq_nsmul
.
Alias of Real.Angle.intCast_mul_eq_zsmul
.
Convert a Real.Angle
to a real number in the interval Ioc (-π) π
.
Equations
- θ.toReal = Real.Angle.toReal.proof_2.lift θ
Instances For
The tangent of a Real.Angle
.
Instances For
The sign of a Real.Angle
is 0
if the angle is 0
or π
, 1
if the angle is strictly
between 0
and π
and -1
is the angle is strictly between -π
and 0
. It is defined as the
sign of the sine of the angle.
Equations
- θ.sign = SignType.sign θ.sin
Instances For
Suppose a function to angles is continuous on a connected set and never takes the values 0
or π
on that set. Then the values of the function on that set all have the same sign.