Lemmas about integer division needed to bootstrap omega
. #
dvd #
*div zero #
div equivalences #
mod zero #
ofNat mod #
mod definitions #
mod equivalences #
/
ediv #
emod #
theorem
Int.emod_negSucc
(m : Nat)
(n : Int)
:
Int.negSucc m % n = Int.subNatNat n.natAbs (m % n.natAbs).succ
properties of /
and %
#
Equations
- x✝¹.decidableDvd x✝ = decidable_of_decidable_of_iff ⋯
/
and ordering #
tdiv #
(t-)mod #
fdiv #
fmod #
Theorems crossing div/mod versions #
bmod #
Deprecations #
@[reducible, inline, deprecated Int.zero_tdiv (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_zero (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_eq_ediv (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.fdiv_eq_tdiv (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.zero_tmod (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_zero (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_add_tdiv (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_add_tmod (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_add_tdiv' (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_add_tmod' (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_def (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_eq_emod (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.fmod_eq_tmod (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_one (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_neg (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.neg_tdiv (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.neg_tdiv_neg (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_nonneg (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_nonpos (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_eq_zero_of_lt (since := "2024-09-11")]
Instances For
@[reducible, inline, deprecated Int.mul_tdiv_cancel (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.mul_tdiv_cancel_left (since := "2024-09-11")]
Instances For
@[reducible, inline, deprecated Int.tdiv_self (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.mul_tdiv_cancel_of_tmod_eq_zero (since := "2024-09-11")]
Instances For
@[reducible, inline, deprecated Int.tdiv_mul_cancel_of_tmod_eq_zero (since := "2024-09-11")]
Instances For
@[reducible, inline, deprecated Int.dvd_of_tmod_eq_zero (since := "2024-09-11")]
Instances For
@[reducible, inline, deprecated Int.mul_tdiv_assoc (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.mul_tdiv_assoc' (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_dvd_tdiv (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.natAbs_tdiv (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_eq_of_eq_mul_right (since := "2024-09-11")]
Instances For
@[reducible, inline, deprecated Int.eq_tdiv_of_mul_eq_right (since := "2024-09-11")]
Instances For
@[reducible, inline, deprecated Int.ofNat_tmod (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_one (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_eq_of_lt (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_lt_of_pos (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_nonneg (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_neg (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.mul_tmod_left (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.mul_tmod_right (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_eq_zero_of_dvd (since := "2024-09-11")]
Instances For
@[reducible, inline, deprecated Int.dvd_iff_tmod_eq_zero (since := "2024-09-11")]
Instances For
@[reducible, inline, deprecated Int.neg_mul_tmod_right (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.neg_mul_tmod_left (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_mul_cancel (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.mul_tdiv_cancel' (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.eq_mul_of_tdiv_eq_right (since := "2024-09-11")]
Instances For
@[reducible, inline, deprecated Int.tmod_self (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.neg_tmod_self (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.lt_tdiv_add_one_mul_self (since := "2024-09-11")]
Instances For
@[reducible, inline, deprecated Int.tdiv_eq_iff_eq_mul_right (since := "2024-09-11")]
Instances For
@[reducible, inline, deprecated Int.tdiv_eq_iff_eq_mul_left (since := "2024-09-11")]
Instances For
@[reducible, inline, deprecated Int.eq_mul_of_tdiv_eq_left (since := "2024-09-11")]
Instances For
@[reducible, inline, deprecated Int.tdiv_eq_of_eq_mul_left (since := "2024-09-11")]
Instances For
@[reducible, inline, deprecated Int.eq_zero_of_tdiv_eq_zero (since := "2024-09-11")]
Instances For
@[reducible, inline, deprecated Int.tdiv_left_inj (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_sign (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.sign_eq_tdiv_abs (since := "2024-09-11")]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_eq_ediv_of_dvd (since := "2024-09-11")]