Documentation

Mathlib.Data.Int.Order.Lemmas

Further lemmas about the integers #

The distinction between this file and Data.Int.Order.Basic is not particularly clear. They are separated by now to minimize the porting requirements for tactics during the transition to mathlib4. Please feel free to reorganize these two files.

nat abs #

theorem Int.natAbs_eq_iff_mul_self_eq {a : } {b : } :
a.natAbs = b.natAbs a * a = b * b
theorem Int.natAbs_lt_iff_mul_self_lt {a : } {b : } :
a.natAbs < b.natAbs a * a < b * b
theorem Int.natAbs_le_iff_mul_self_le {a : } {b : } :
a.natAbs b.natAbs a * a b * b