CROWN Graph Theorems #
Shape, dimension, and enclosure lemmas for the graph CROWN engine. Keeping these proof layer facts separate from the executable propagation passes makes the implementation files easier to browse.
Dimension lemma: linear IBP returns an output box with the expected dimension.
boxRelu preserves dim.
boxSquare preserves dim.
Canonical forms for boxAdd/boxSub when dimensions match
Canonical form for boxSub when both boxes have the same dimension.
Declarative enclosure predicates used by downstream graph-soundness statements.
encloses B x means vector x lies componentwise between B.lo and B.hi.
Instances For
If x is enclosed in [lo1,hi1] and y is enclosed in [lo2,hi2], then x+y is enclosed in
[lo1+lo2, hi1+hi2].
The scalar order fact is passed as add_mono: from a ≤ b and c ≤ d, derive
a + c ≤ b + d.
If x is enclosed in [lo1,hi1] and y is enclosed in [lo2,hi2], then x-y is enclosed in
[lo1-hi2, hi1-lo2].
The scalar order fact is passed as sub_mono: from a ≤ b and d ≤ c, derive
a - c ≤ b - d.
Enclosure for boxRelu: if $x\in B$, then $\operatorname{ReLU}(x)$ belongs to the resulting
box.
Lower bound for v * v on [l, u].
Squaring is not monotone, so the sign matters here: an interval straddling zero attains 0, and
otherwise the minimum sits at the endpoint nearer the origin.
Instances For
Upper bound for v * v on [l, u]: the larger of the two squared endpoints.
Unlike sqLower there is no case split on the sign, because squaring is maximized at whichever
endpoint is farther from the origin whether or not the interval straddles zero.
Instances For
Coordinatewise squaring of a box encloses the elementwise product of an enclosed tensor.
The scalar bound is taken as a hypothesis rather than proved here, since it is the one step that
depends on the ordered-field structure of α; every instance discharges it separately.