Reference · Signed rationals
rainbow.math.rational.signed.close-of-distance
B6f lever: build a closeness band from a distance bound (the converse of dist-of-close). analysis/close-of-distance-at-most : distance x L <= eps -> close L eps x close L eps x = (L - eps <= x) AND (x <= L + eps). From |x-L| <= eps: x - L <= |x-L| <= eps (at-most-absolute) -> x <= L + eps L - x ~ -(x-L) <= |x-L| <= eps (negate-at-most-absolute + negate-subtract) -> L - eps <= x assembled with proposition/conjoin. The limit-reciprocal assembly proves distance (reciprocal (s n)) (reciprocal L) <= eps and lands the goal close (reciprocal L) eps (reciprocal (s n)) via this bridge. Axiom-free; additive; does not touch the LP checker.
analysis/close-of-distance-at-most
analysis/close-of-distance-at-most : (L eps x : ℚ) (hd : signed/distance x L ≤ eps) → analysis/close L eps x
ℚ = signed/SignedRational≤ = signed/at-most