Array predicates for verification artifacts #
Small checkers often receive vector data as JSON float arrays before converting anything into shape-indexed tensors. This module keeps the common pointwise predicates in one place.
Boolean $\leq$ on floats, for executable artifact checks.
Instances For
Boolean < on floats, for executable artifact checks.
Instances For
Check pointwise containment $[\mathrm{lo},\mathrm{hi}]\subseteq[\mathrm{rootLo},\mathrm{rootHi}]$ for JSON-style float arrays.
The helper is strict about lengths through allPairwise: mismatched arrays are rejected.
Instances For
Check whether a lower-bound vector refutes a threshold vector at some coordinate.
This is the executable form of $\exists i,\ \mathrm{threshold}[i]<\mathrm{lowerBound}[i]$.