Floating-Point Interval Semantics #
Interval-domain semantics for IEEE32Exec neural networks.
This file formalizes the interval domain, concretization map, executable interval operators, and
the exact-interval-image property used by the floating-point interval-approximation theorem of
Hwang, Lee, Park, Park, and Saad, Floating-Point Neural Networks Are Provably Robust Universal
Approximators (arXiv:2506.16065).
Basic aliases #
Shorthand for the executable binary32 float type used in this development.
Instances For
IEEE32Exec is stored as a UInt32 bit-pattern, so the carrier is finite. We use this only to
obtain Finset.univ for paper-style “finite hull” definitions; nothing is computed.
Small helper lemmas about the IEEE32Exec order #
Instances For
Membership in an abstract interval, via the concretization γI.
Abstract boxes B ∈ I^d.
Instances For
A box is in [-1,1]^d (paper: “abstract boxes in [-1,1]^d”).
Instances For
Point interval ⟨x,x⟩.
Instances For
Executable interval operators for +, *, and ReLU #
Minimum of two IEEE32Exec values (NaN-aware, via IEEE32Exec.minimum).
Instances For
Maximum of two IEEE32Exec values (NaN-aware, via IEEE32Exec.maximum).
Instances For
Minimum of four IEEE32Exec values, computed via nested min2.
Instances For
Maximum of four IEEE32Exec values, computed via nested max2.
Instances For
Return true iff any of the four arguments is NaN.
Instances For
Corner-based interval addition for IEEE32Exec.add.
Instances For
Corner-based interval multiplication for IEEE32Exec.mul.
Instances For
Executable ReLU for IEEE32Exec, defined via IEEE32Exec.maximum.
Instances For
Exact ReLU♯ for intervals, using monotonicity of ReLU:
for ⟨a,b⟩, ReLU([a,b]) = [ReLU(a), ReLU(b)].
Instances For
Eq. (8): exact interval hull on finite sets #
Totalized extended-real interpretation (defaults to 0 only on NaN).
Instances For
Interval hull for a finite set of floats:
⊤if the set contains a NaN (paper:⊥ ∈ S), otherwise- the interval
⟨min S, max S⟩.
Instances For
Instances For
Build a 2D box from two intervals (coordinate 0 is A, coordinate 1 is B).
Instances For
Instances For
Instances For
Instances For
OpsExact implements the finite interval semantics used for exact interval-image statements.
Proving its soundness for IEEE32Exec (+/*/ReLU) is substantial work. This file isolates
that work behind an explicit interface, so higher-level semantic proofs can be completed
once op-level soundness lemmas are available.
Instances
Exact interval-image property for rounded targets #
For each box B, the abstract output interval is exactly the interval hull of the rounded target's
direct image on γ(B), expressed via existential min/max witnesses.
Instances For
Two-layer interval evaluator using OpsExact #
Parameters of a 2-layer MLP of shape d → h → 1 for the exact interval semantics (OpsExact).
Weight matrix for layer 1.
Bias for layer 1.
Weight matrix for layer 2.
Bias for layer 2.
Instances For
Evaluate a 2-layer ReLU MLP on a concrete input, using the exact op wrappers (OpsExact.relu).