NRR.Multivalued.Separator.SignedDistance — signed distance to the carrier #
For a top–bottom separator S over a metric space X, the signed distance assigns to each
point of X × SignedInterval its distance to the carrier, negated on the lower region:
signedDistance z = if z ∈ S.lower then -infDist z S.carrier else infDist z S.carrier
Its absolute value is the ordinary distance to the carrier, its zero set is exactly the carrier, it is strictly negative on the lower region and strictly positive on the upper region, and it takes the corresponding strict signs at the bottom and top boundaries. The carrier-point estimate bounds the absolute value by the distance to any chosen carrier point. Continuity is not treated here.
The carrier is nonempty because X is nonempty (via the vertical-fiber theorem), and it is closed
by the separator structure; these two facts drive the sign laws through the Metric.infDist
wrappers.
The signed distance to the carrier: the distance to the carrier, negated on the lower region.
Equations
- S.signedDistance z = if z ∈ S.lower then -Metric.infDist z S.carrier else Metric.infDist z S.carrier
Instances For
The absolute value of the signed distance is the distance to the carrier.
The zero set of the signed distance is exactly the carrier.
The signed distance vanishes on the carrier.
The signed distance is strictly negative on the lower region.
The signed distance is strictly positive on the upper region.
At the bottom boundary point the signed distance is strictly negative.
At the top boundary point the signed distance is strictly positive.
The absolute value of the signed distance is bounded by the distance to any carrier point.
The signed distance to the carrier is continuous on the whole product.
The signed distance packaged as a bundled continuous map.
Equations
- S.signedDistanceMap = { toFun := S.signedDistance, continuous_toFun := ⋯ }