Further lemmas about the natural numbers #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
The distinction between this file and data.nat.order.basic
is not particularly clear.
They are separated by now to minimize the porting requirements for tactics during the transition to
mathlib4. After data.rat.order
has been ported, please feel free to reorganize these two files.
Sets #
@[protected, instance]
Equations
- nat.subtype.semilattice_sup s = {sup := lattice.sup linear_order.to_lattice, le := linear_order.le (subtype.linear_order s), lt := linear_order.lt (subtype.linear_order s), le_refl := _, le_trans := _, lt_iff_le_not_le := _, le_antisymm := _, le_sup_left := _, le_sup_right := _, sup_le := _}
div
#
mod
, dvd
#
dvd
is injective in the left argument