Facts about ℤ
as an (unbundled) ordered group #
See note [foundational algebra order theory].
Recursors #
Int.rec
: Sign disjunction. Something is true/defined onℤ
if it's true/defined for nonnegative and for negative values. (Defined in core Lean 3)Int.inductionOn
: Simple growing induction on positive numbers, plus simple decreasing induction on negative numbers. Note that this recursor is currently onlyProp
-valued.Int.inductionOn'
: Simple growing induction for numbers greater thanb
, plus simple decreasing induction on numbers less thanb
.
Miscellaneous lemmas #
/
#
mod #
@[deprecated Int.emod_lt_abs (since := "2025-03-10")]
Alias of Int.emod_lt_abs
.
properties of /
and %
#
@[deprecated Int.sign_eq_ediv_abs' (since := "2025-03-10")]
Alias of Int.sign_eq_ediv_abs'
.