Mathlib.Data.Nat.Order.Lemmas
5 declarations. Mathlib docs · Source
Further lemmas about the natural numbers
The distinction between this file and Mathlib/Algebra/Order/Ring/Nat.lean is not particularly
clear. They were separated for now to minimize the porting requirements for tactics
during the transition to mathlib4. Please feel free to reorganize these two files.
Sets
instance Nat.Subtype.orderBot E0 #
(s : Set ℕ) → [DecidablePred fun x ↦ x ∈ s] → [h : Nonempty ↑s] → OrderBot ↑s
instance Nat.Subtype.semilatticeSup E0 #
(p : ℕ → Prop) → SemilatticeSup (Subtype p)
theorem Nat.Subtype.coe_bot E0 #
∀ {s : Set ℕ} [inst : DecidablePred fun x ↦ x ∈ s] [h : Nonempty ↑s], ↑⊥ = Nat.find ⋯
theorem Nat.set_eq_univ E1 #
∀ {S : Set ℕ}, S = Set.univ ↔ 0 ∈ S ∧ ∀ k ∈ S, k + 1 ∈ S
theorem Nat.exists_not_and_succ_of_not_zero_of_exists E1 #
∀ {p : ℕ → Prop}, ¬p 0 → (∃ n, p n) → ∃ n, ¬p n ∧ p (n + 1)