TorchLean API

FloatLib.Numerics.Enclosure.Elementary.TrigonometricIrrational

Rational trigonometric arguments and rounding boundaries #

At a nonzero rational argument, sine, cosine, and tangent are transcendental. If sine or cosine were algebraic, the identity sin² x + cos² x = 1 would make both algebraic, and Euler's formula would contradict the transcendence of exp (x * I). Tangent reduces to cosine through cos² x = 1 / (1 + tan² x).

The irrationality corollaries rule out exact rational rounding boundaries. The input zero must be handled separately by executable comparisons.

Cosine at a nonzero rational argument is transcendental.

Sine at a nonzero rational argument is transcendental.

A nonzero rational argument cannot be a pole of tangent.

Tangent at a nonzero rational argument is transcendental.

Sine at a nonzero rational input cannot equal a rational rounding boundary.

Cosine at a nonzero rational input cannot equal a rational rounding boundary.

Tangent at a nonzero rational input cannot equal a rational rounding boundary.

Inverse tangent at a nonzero rational input is irrational.

theorem FloatLib.Numerics.Enclosure.irrational_arcsin_ratCast (q : ) (hq : q 0) (hlower : -1 q) (hupper : q 1) :

Inverse sine at a nonzero rational in its real domain is irrational.

theorem FloatLib.Numerics.Enclosure.irrational_arccos_ratCast (q : ) (hq : q 1) (hlower : -1 q) (hupper : q 1) :

Inverse cosine is irrational throughout its rational real domain except at 1.