boundlab.ibp#
The interval domain: centers (Bias) plus halfwidths (Noise).
A value is enclosed as
the cheapest sound abstraction: every transfer function is a couple of tensor
ops. Noise components are independent — correlations are dropped, so
x - x widens to \(\pm 2w\) instead of cancelling. The richer domains
therefore use Bias/Noise as the concrete part they carry alongside
their symbolic components, and fall back to intervals only where symbolic
structure has run out.
Module Attributes
The interval interpreter. |
Classes
A deterministic additive component: |
|
Peel the |
|
Interval bound for the error-error product: \([-a, a] @ [-b, b] \subseteq \pm(a @ b)\) for \(a, b \ge 0\), with the reasons blended by mass. |
|
|
|
Shift the |
|
An independent symmetric interval \(\pm w\) with provenance. |
|
Rewrite softmax as \(1 / \sum_j e^{\nu_j - \nu_i}\) over the last axis. |
Modules
Interval matrix products. |
|
Rewrites of |
|
Interval elementwise products, by the same component split as matmul: |
|
Softmax via the DeepT shift-invariant decomposition. |
|
Interval transfer functions for elementwise activations. |