Properties of integer quotients Rat.divInt #
Elementary properties of Rat.divInt a b: the reduced numerator magnitude in terms of
Nat.gcd a.natAbs b.natAbs, the numerator sign bit, and magnitude bounds on numerator and
denominator.
Main results #
Rat.natAbs_num_divInt_of_ne_zero: numerator magnitude forb ≠ 0.Rat.natAbs_num_divInt: unconditional numerator magnitude.Rat.natAbs_num_divInt_le: numerator magnitude bound|num| ≤ |a|.Rat.den_divInt_le: denominator boundden ≤ |b|.Rat.decide_num_divInt_lt_zero_of_ne_zero: numerator sign bit forb ≠ 0.Rat.decide_num_divInt_lt_zero: unconditional numerator sign bit.
Reduced numerator magnitude of Rat.divInt a b is bounded by |a|.
Reduced denominator of Rat.divInt a b is bounded by |b|.