boundlab.ops.unary_fn_opt#
Certified elementwise function ranges via cubic Hermite splines.
spline3_ibp() bounds an arbitrary differentiable scalar function over a
box by interpolating it piecewise with cubics (values and derivatives at the
subinterval endpoints) and covering the interpolation error with the
two-point Hermite remainder
where \(M_4\) bounds the fourth derivative. The cubic’s exact extrema
(endpoints plus the real roots of its derivative) are closed-form, so the
whole bound is differentiable and vectorized — the residual oracle behind the
Legendre relaxations. The quartic_bound_* helpers supply \(M_4\) for
the standard activations.
Module Attributes
|
Functions
Elementwise bound on |
|
Elementwise bound on |
|
Elementwise bound on |
|
Bound |