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 ≤ on floats, for executable artifact checks.
Instances For
Boolean < on floats, for executable artifact checks.
Instances For
Check pointwise containment [lo, hi] ⊆ [rootLo, rootHi] for JSON-style float arrays.
The helper is strict about lengths through all2: 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 ∃ i, threshold[i] < lowerBound[i].