TorchLean API

NN.MLTheory.CROWN.Proofs.GraphCertSoundness.NonlinearOps

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: the Lipschitz constant one (Real.abs_sin_sub_sin_le, Real.abs_cos_sub_cos_le) turns the input half-width directly into an output half-width.

Interval bound propagation through sin is sound over ℝ.

Each component uses the midpoint Lipschitz enclosure, intersected with [-1, 1].

Interval bound propagation through cos is sound over ℝ, by the same argument.