Reference · Signed rationals
rainbow.math.rational.signed.unit-laws
The unit and self-cancellation laws the signed layer was missing. Everything about `signed/one` and about `c - c` had to be re-derived by hand at every use site, because the signed layer carried no multiplicative identity and no self-subtraction law. All four proofs below are componentwise: a signed equivalence `a ~ b` IS the nnrat equivalence `Pa + Nb ~ Pb + Na`, so each one reduces to nnrat identity laws applied to the two Grothendieck components. signed/multiply-one-left 1 * z ~ z signed/subtract-self-equivalent-zero c - c ~ 0 signed/subtract-self-nonpositive c - c <= 0 signed/zero-at-most-one 0 <= 1 signed/equivalent-to-at-most a ~ b -> a <= b The last is worth naming: signed order and signed equivalence unfold to the nnrat order and nnrat equivalence of the SAME pair of cross sums, so the nnrat bridge transports directly, giving the signed one for free. Native and axiom-free; chains signed multiplication and the nnrat identity and additive-monotonicity laws on D63.
signed/equivalent-to-at-most
signed/equivalent-to-at-most : (a b : ℚ) (same : a = b) → a ≤ b
= = signed/equivalent: equality of rational valuesℚ = signed/SignedRational≤ = signed/at-most
signed/multiply-one-left
signed/multiply-one-left : (z : ℚ) → 1 · z = z
1 = signed/one= = signed/equivalent: equality of rational values· = signed/multiplyℚ = signed/SignedRational
signed/subtract-self-equivalent-zero
signed/subtract-self-equivalent-zero : (c : ℚ) → c - c = 0
- = signed/subtract0 = signed/zero= = signed/equivalent: equality of rational valuesℚ = signed/SignedRational
signed/subtract-self-nonpositive
signed/subtract-self-nonpositive : (c : ℚ) → c - c ≤ 0
- = signed/subtract0 = signed/zeroℚ = signed/SignedRational≤ = signed/at-most
signed/zero-at-most-one
signed/zero-at-most-one : → 0 ≤ 1
0 = signed/zero1 = signed/one≤ = signed/at-most