Nonlinear IBP Soundness Lemmas #
Monotonicity and Lipschitz facts for the nonlinear graph operations handled by the IBP certificate soundness theorem.
Soundness of Runtime.Ops.IBP.mapMinmax for monotone scalar functions #
Runtime.Ops.IBP.sigmoid and Runtime.Ops.IBP.tanh are defined using mapMinmax.
If the activation is monotone, then the min/max of the endpoints is a correct enclosure.
Soundness of the 1-Lipschitz sin/cos enclosures #
Runtime.Ops.IBP.sin / Runtime.Ops.IBP.cos use a midpoint enclosure with radius r=(u-l)/2,
clamped to [-1,1]. This avoids periodic case splits while remaining sound.
Cosine is 1-Lipschitz, proved from the sum-to-product identity.
The interval rules for sin and cos fall back on this whenever the input interval is too wide for
a monotone branch: a Lipschitz constant of one turns the input width directly into an output width.
Interval bound propagation through sin is sound over ℝ.
The implementation checks whether the interval is short enough to contain no critical point and uses
the monotone endpoints if so, falling back to [-1, 1] otherwise; both branches are covered here.
Interval bound propagation through cos is sound over ℝ, by the same argument.