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 only- Prop-valued.
- Int.inductionOn': Simple growing induction for numbers greater than- b, plus simple decreasing induction on numbers less than- b.
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'.