Miscellaneous lemmas about the integers #
This file contains lemmas about integers, which require further imports than
Data.Int.Basic or Data.Int.Order.
succ and pred #
natAbs #
A specialization of abs_sub_le_of_nonneg_of_le for working with the signed subtraction
of natural numbers.
A specialization of abs_sub_lt_of_nonneg_of_lt for working with the signed subtraction
of natural numbers.
toNat #
bitwise ops #
This lemma is orphaned from Data.Int.Bitwise as it also requires material from Data.Int.Order.
@[deprecated Int.le_natCast_sub (since := "2024-04-02")]
Alias of Int.le_natCast_sub.
@[deprecated Int.succ_natCast_pos (since := "2024-04-02")]
Alias of Int.succ_natCast_pos.
@[deprecated Int.natCast_natAbs (since := "2024-04-02")]
Alias of Int.natCast_natAbs.
@[deprecated Int.natCast_eq_zero (since := "2024-04-02")]
Alias of Int.natCast_eq_zero.
@[deprecated Int.natCast_ne_zero (since := "2024-04-02")]
Alias of Int.natCast_ne_zero.
@[deprecated Int.natCast_ne_zero_iff_pos (since := "2024-04-02")]
Alias of Int.natCast_ne_zero_iff_pos.
@[deprecated Int.abs_natCast (since := "2024-04-02")]
Alias of Int.abs_natCast.
@[deprecated Int.natCast_nonpos_iff (since := "2024-04-02")]
Alias of Int.natCast_nonpos_iff.