CROWN Graph Theorems #
Shape, dimension, and enclosure lemmas for the graph CROWN engine. Keeping these proof-facing facts separate from the executable propagation passes makes the implementation files easier to browse.
Helper lemmas about shapes/dimensions of basic constructions
toFlatBox creates a box whose dim matches the given n.
Dimension lemma: linear IBP returns an output box with the expected dimension.
Canonical forms for box_add/box_sub when dimensions match
Canonical form for box_sub 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 box_relu: if x ∈ B then ReLU(x) ∈ box_relu B.