The areas / V04. Order and lattices
Mathlib.Order.SuccPred.Nat
17 declarations. Mathlib docs · Source
instance Nat.instSuccOrder E0 #
SuccOrder ℕ
instance Nat.instSuccAddOrder E0 #
SuccAddOrder ℕ
instance Nat.instPredOrder E0 #
PredOrder ℕ
instance Nat.instPredSubOrder E0 #
PredSubOrder ℕ
theorem Nat.succ_eq_succ E0 #
Order.succ = Nat.succ
theorem Nat.pred_eq_pred E0 #
Order.pred = Nat.pred
theorem Nat.succ_iterate E1 #
∀ (a n : ℕ), Nat.succ^[n] a = a + n
theorem Nat.pred_iterate E1 #
∀ (a n : ℕ), Nat.pred^[n] a = a - n
theorem Nat.covBy_iff_add_one_eq E0 #
∀ {m n : ℕ}, m ⋖ n ↔ m + 1 = n
A special case of Order.covBy_iff_add_one_eq for use by simp.
theorem Nat.le_succ_iff_eq_or_le E1 #
∀ {m n : ℕ}, m ≤ n.succ ↔ m = n.succ ∨ m ≤ n
instance Nat.instIsSuccArchimedean E0 #
IsSuccArchimedean ℕ
instance Nat.instIsPredArchimedean E0 #
IsPredArchimedean ℕ
theorem Nat.forall_ne_zero_iff E0 #
∀ (P : ℕ → Prop), (∀ (i : ℕ), i ≠ 0 → P i) ↔ ∀ (i : ℕ), P (i + 1)
theorem Fin.covBy_iff E0 #
∀ {n : ℕ} {a b : Fin n}, a ⋖ b ↔ ↑a ⋖ ↑b
theorem CovBy.coe_fin E0 #
∀ {n : ℕ} {a b : Fin n}, a ⋖ b → ↑a ⋖ ↑b
Alias of the forward direction of Fin.covBy_iff.
theorem withBotSucc_zero E0 #
WithBot.succ 0 = 1
theorem withBotSucc_one E0 #
WithBot.succ 1 = 2