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 #
properties of / and % #
@[deprecated Int.abs_sign_of_ne_zero (since := "2025-09-03")]
Alias of Int.abs_sign_of_ne_zero.
@[deprecated Int.sign_eq_ediv_abs' (since := "2025-03-10")]
Alias of Int.sign_eq_ediv_abs'.