Further lemmas about the natural numbers #
The distinction between this file and Mathlib.Data.Nat.Order.Basic
is not particularly clear.
They are separated for now to minimize the porting requirements for tactics during the transition to
mathlib4. After Mathlib.Data.Rat.Order
has been ported,
please feel free to reorganize these two files.
Sets #
instance
Nat.Subtype.orderBot
(s : Set ℕ)
[DecidablePred fun x => x ∈ s]
[h : Nonempty ↑s]
:
OrderBot ↑s
Equations
- Nat.Subtype.orderBot s = OrderBot.mk (_ : ∀ (x : ↑s), Nat.find (_ : ∃ a, a ∈ s) ≤ ↑x)
Equations
- One or more equations did not get rendered due to their size.
div
#
mod
, dvd
#
dvd
is injective in the left argument