Reference · Signed rationals
rainbow.math.rational.signed.reciprocal-nonnegative
B3 of the limit-reciprocal arc: the reciprocal of a nonnegative signed rational is nonnegative. signed/reciprocal-nonnegative : nonnegative x -> nonnegative (reciprocal x) Immediate from the sign-free definition reciprocal x = x * (1/(x*x)): the second factor 1/(x*x) = from-nnrat (recip mmag) is nonnegative (from-nnrat of any nnrat is >= 0, since its negative component is 0 -- nnrat/zero-at-most), so multiply-nonnegative closes it. Axiom-free; additive; does not touch the LP checker.
signed/reciprocal-nonnegative
signed/reciprocal-nonnegative : (x : ℚ) (hx : signed/nonnegative x) → signed/nonnegative (signed/reciprocal x)
ℚ = signed/SignedRational