boundlab.diff.zono3.tighten_diff#
- boundlab.diff.zono3.tighten_diff(sub, diff)[source]#
Pick, per element, the narrower of two sound enclosures of the difference.
subisx_out − y_out— exact whenever the branch relaxations share their error symbols with the difference — anddiffis the lineariser’s dedicated form. Neither dominates the other:subwins when the branches cancel,diffwins when the lineariser exploits the strip constraint onx − y. Both enclose the true difference, so any per-element choice is sound.