Lemmas about integer division #
/
#
mod #
properties of /
and %
#
@[simp]
theorem
Int.natAbs_div
(a : Int)
(b : Int)
:
Int.natAbs (Int.div a b) = Nat.div (Int.natAbs a) (Int.natAbs b)
dvd #
@[simp]
Equations
- Int.decidableDvd x x = decidable_of_decidable_of_iff (_ : Int.mod x x = 0 ↔ x ∣ x)