TorchLean API

NN.Floats.IEEEExec.TrigBounds

Simple Taylor remainder bounds for Real.sin / Real.cos #

IEEE32Exec.Trig.sinCosTaylorSmall uses a reduced-input Taylor kernel (degree 13/12). For many proofs we only need some analytic bound saying the Taylor approximation is close on |x| ≤ 1.

Mathlib provides clean, reusable bounds for the first nontrivial truncations:

These are coarse but robust and are often sufficient as a local ingredient in larger numerical proofs. Tighter bounds for higher-degree truncations can be added later if needed.

Quadratic Taylor approximation 1 - x^2/2 used as a baseline for cos.

Instances For

    Cubic Taylor approximation x - x^3/6 used as a baseline for sin.

    Instances For