Successor function on WithBot
#
This file defines the successor of a : WithBot α
as an element of α
, and dually for WithTop
.
@[simp]
Not to be confused with WithBot.orderSucc_bot
, which is about Order.succ
.
@[simp]
theorem
WithBot.succ_coe
{α : Type u_1}
[Preorder α]
[OrderBot α]
[SuccOrder α]
(a : α)
:
(↑a).succ = Order.succ a
Not to be confused with WithBot.orderSucc_coe
, which is about Order.succ
.
theorem
WithBot.succ_eq_succ
{α : Type u_1}
[Preorder α]
[OrderBot α]
[SuccOrder α]
(a : WithBot α)
:
↑a.succ = Order.succ a
theorem
WithBot.succ_strictMono
{α : Type u_1}
[Preorder α]
[OrderBot α]
[SuccOrder α]
[NoMaxOrder α]
:
StrictMono WithBot.succ
theorem
WithBot.succ_lt_succ
{α : Type u_1}
[Preorder α]
[OrderBot α]
[SuccOrder α]
{x y : WithBot α}
[NoMaxOrder α]
(hxy : x < y)
:
x.succ < y.succ
@[simp]
Not to be confused with WithTop.orderPred_top
, which is about Order.pred
.
@[simp]
theorem
WithTop.pred_coe
{α : Type u_1}
[Preorder α]
[OrderTop α]
[PredOrder α]
(a : α)
:
(↑a).pred = Order.pred a
Not to be confused with WithTop.orderPred_coe
, which is about Order.pred
.
theorem
WithTop.pred_eq_pred
{α : Type u_1}
[Preorder α]
[OrderTop α]
[PredOrder α]
(a : WithTop α)
:
↑a.pred = Order.pred a
theorem
WithTop.pred_strictMono
{α : Type u_1}
[Preorder α]
[OrderTop α]
[PredOrder α]
[NoMinOrder α]
:
StrictMono WithTop.pred
theorem
WithTop.pred_lt_pred
{α : Type u_1}
[Preorder α]
[OrderTop α]
[PredOrder α]
{x y : WithTop α}
[NoMinOrder α]
(hxy : x < y)
:
x.pred < y.pred