Documentation

Mathlib.Algebra.Order.SuccPred.WithBot

Algebraic properties of the successor function on WithBot #

theorem WithBot.succ_natCast {α : Type u_1} [Preorder α] [OrderBot α] [AddMonoidWithOne α] [SuccAddOrder α] (n : ) :
(↑n).succ = n + 1
@[simp]
@[simp]
@[simp]
theorem WithBot.succ_ofNat {α : Type u_1} [Preorder α] [OrderBot α] [AddMonoidWithOne α] [SuccAddOrder α] (n : ) [n.AtLeastTwo] :
(OfNat.ofNat n).succ = OfNat.ofNat n + 1