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 #
@[simp]
(t-)mod #
fdiv #
fmod #
Theorems crossing div/mod versions #
bmod #
Deprecations #
@[reducible, inline, deprecated Int.zero_tdiv]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_zero]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_eq_ediv]
Equations
Instances For
@[reducible, inline, deprecated Int.fdiv_eq_tdiv]
Equations
Instances For
@[reducible, inline, deprecated Int.zero_tmod]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_zero]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_add_tdiv]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_add_tmod]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_add_tdiv']
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_add_tmod']
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_def]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_eq_emod]
Equations
Instances For
@[reducible, inline, deprecated Int.fmod_eq_tmod]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_one]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_neg]
Equations
Instances For
@[reducible, inline, deprecated Int.neg_tdiv]
Equations
Instances For
@[reducible, inline, deprecated Int.neg_tdiv_neg]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_nonneg]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_nonpos]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_eq_zero_of_lt]
Instances For
@[reducible, inline, deprecated Int.mul_tdiv_cancel]
Equations
Instances For
@[reducible, inline, deprecated Int.mul_tdiv_cancel_left]
Instances For
@[reducible, inline, deprecated Int.tdiv_self]
Equations
Instances For
@[reducible, inline, deprecated Int.mul_tdiv_cancel_of_tmod_eq_zero]
Instances For
@[reducible, inline, deprecated Int.tdiv_mul_cancel_of_tmod_eq_zero]
Instances For
@[reducible, inline, deprecated Int.dvd_of_tmod_eq_zero]
Instances For
@[reducible, inline, deprecated Int.mul_tdiv_assoc]
Equations
Instances For
@[reducible, inline, deprecated Int.mul_tdiv_assoc']
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_dvd_tdiv]
Equations
Instances For
@[reducible, inline, deprecated Int.natAbs_tdiv]
Equations
Instances For
@[reducible, inline, deprecated Int.ofNat_tmod]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_one]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_eq_of_lt]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_lt_of_pos]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_nonneg]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_neg]
Equations
Instances For
@[reducible, inline, deprecated Int.mul_tmod_left]
Equations
Instances For
@[reducible, inline, deprecated Int.mul_tmod_right]
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_eq_zero_of_dvd]
Instances For
@[reducible, inline, deprecated Int.dvd_iff_tmod_eq_zero]
Instances For
@[reducible, inline, deprecated Int.neg_mul_tmod_right]
Equations
Instances For
@[reducible, inline, deprecated Int.neg_mul_tmod_left]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_mul_cancel]
Equations
Instances For
@[reducible, inline, deprecated Int.mul_tdiv_cancel']
Equations
Instances For
@[reducible, inline, deprecated Int.tmod_self]
Equations
Instances For
@[reducible, inline, deprecated Int.neg_tmod_self]
Equations
Instances For
@[reducible, inline, deprecated Int.lt_tdiv_add_one_mul_self]
Instances For
@[reducible, inline, deprecated Int.eq_zero_of_tdiv_eq_zero]
Instances For
@[reducible, inline, deprecated Int.tdiv_sign]
Equations
Instances For
@[reducible, inline, deprecated Int.sign_eq_tdiv_abs]
Equations
Instances For
@[reducible, inline, deprecated Int.tdiv_eq_ediv_of_dvd]