The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V04. Order and lattices

Mathlib.Order.BoundedOrder.Basic

150 declarations. Mathlib docs · Source

⊤ and ⊥, bounded lattices and variants

This file defines top and bottom elements (greatest and least elements) of a type, the bounded variants of different kinds of lattices, sets up the typeclass hierarchy between them and provides instances for Prop and fun.

Main declarations

  • <Top/Bot> α: Typeclasses to declare the ⊤/⊥ notation.
  • Order<Top/Bot> α: Order with a top/bottom element.
  • BoundedOrder α: Order with a top and bottom element.

Top, bottom element

Bounded order

Function lattices

Subtype, order dual, product lattices

def OrderBot.ctorIdx E1 #

{α : Type u} → {inst : LE α} → OrderBot α → ℕ

def OrderTop.ctorIdx E1 #

{α : Type u} → {inst : LE α} → OrderTop α → ℕ

def BoundedOrder.ctorIdx E1 #

{α : Type u} → {inst : LE α} → BoundedOrder α → ℕ

class OrderTop E3 #

(α : Type u) → [LE α] → Type u

An order is an OrderTop if it has a greatest element. We state this using a data mixin, holding the value of ⊤ and the greatest element constraint.

ctor OrderTop.mk E0 #

{α : Type u} → [inst : LE α] → [toTop : Top α] → (∀ (a : α), a ≤ ⊤) → OrderTop α

instance OrderTop.toTop E0 #

{α : Type u} → {inst : LE α} → [self : OrderTop α] → Top α

theorem OrderTop.le_top E1 #

∀ {α : Type u} {inst : LE α} [self : OrderTop α] (a : α), a ≤ ⊤

⊤ is the greatest element

class OrderBot E3 #

(α : Type u) → [LE α] → Type u

An order is an OrderBot if it has a least element. We state this using a data mixin, holding the value of ⊥ and the least element constraint.

instance OrderBot.toBot E0 #

{α : Type u} → {inst : LE α} → [self : OrderBot α] → Bot α

ctor OrderBot.mk E0 #

{α : Type u} → [inst : LE α] → [toBot : Bot α] → (∀ (a : α), ⊥ ≤ a) → OrderBot α

theorem OrderBot.bot_le E1 #

∀ {α : Type u} {inst : LE α} [self : OrderBot α] (a : α), ⊥ ≤ a

⊥ is the least element

def topOrderOrNoTopOrder E1 #

(α : Type u_1) → [inst : LE α] → OrderTop α ⊕' NoTopOrder α

An order is (noncomputably) either an OrderTop or a NoTopOrder. Use as cases topOrderOrNoTopOrder α.

def botOrderOrNoBotOrder E1 #

(α : Type u_1) → [inst : LE α] → OrderBot α ⊕' NoBotOrder α

An order is (noncomputably) either an OrderBot or a NoBotOrder. Use as cases botOrderOrNoBotOrder α.

theorem dite_ne_bot E1 #

∀ {α : Type u} [inst : Bot α] {p : Prop} [inst_1 : Decidable p] {a : p → α} {b : ¬p → α},
  (∀ (h : p), a h ≠ ⊥) → (∀ (h : ¬p), b h ≠ ⊥) → (if h : p then a h else b h) ≠ ⊥

theorem dite_ne_top E1 #

∀ {α : Type u} [inst : Top α] {p : Prop} [inst_1 : Decidable p] {a : p → α} {b : ¬p → α},
  (∀ (h : p), a h ≠ ⊤) → (∀ (h : ¬p), b h ≠ ⊤) → (if h : p then a h else b h) ≠ ⊤

theorem ite_ne_bot E1 #

∀ {α : Type u} [inst : Bot α] {p : Prop} [inst_1 : Decidable p] {a b : α},
  (p → a ≠ ⊥) → (¬p → b ≠ ⊥) → (if p then a else b) ≠ ⊥

theorem ite_ne_top E1 #

∀ {α : Type u} [inst : Top α] {p : Prop} [inst_1 : Decidable p] {a b : α},
  (p → a ≠ ⊤) → (¬p → b ≠ ⊤) → (if p then a else b) ≠ ⊤

theorem le_top E0 #

∀ {α : Type u} [inst : LE α] [inst_1 : OrderTop α] {a : α}, a ≤ ⊤

theorem bot_le E0 #

∀ {α : Type u} [inst : LE α] [inst_1 : OrderBot α] {a : α}, ⊥ ≤ a

theorem isBot_bot E0 #

∀ {α : Type u} [inst : LE α] [inst_1 : OrderBot α], IsBot ⊥

theorem isTop_top E0 #

∀ {α : Type u} [inst : LE α] [inst_1 : OrderTop α], IsTop ⊤

def IsTop.rec E1 #

{α : Type u} →
  [inst : LE α] →
    {motive : (x : α) → IsTop x → Sort u_1} →
      ([inst_1 : OrderTop α] → motive ⊤ ⋯) → (x : α) → (hx : IsTop x) → motive x hx

A top element can be replaced with ⊤.

Prefer IsTop.eq_top if α already has a top element.

def IsBot.rec E1 #

{α : Type u} →
  [inst : LE α] →
    {motive : (x : α) → IsBot x → Sort u_1} →
      ([inst_1 : OrderBot α] → motive ⊥ ⋯) → (x : α) → (hx : IsBot x) → motive x hx

A bottom element can be replaced with ⊥.

Prefer IsBot.eq_bot if α already has a bottom element.

theorem isMax_top E0 #

∀ {α : Type u} [inst : Preorder α] [inst_1 : OrderTop α], IsMax ⊤

theorem isMin_bot E0 #

∀ {α : Type u} [inst : Preorder α] [inst_1 : OrderBot α], IsMin ⊥

theorem not_top_lt E0 #

∀ {α : Type u} [inst : Preorder α] [inst_1 : OrderTop α] {a : α}, ¬⊤ < a

theorem not_lt_bot E0 #

∀ {α : Type u} [inst : Preorder α] [inst_1 : OrderBot α] {a : α}, ¬a < ⊥

theorem not_covBy_bot E0 #

∀ {α : Type u} [inst : Preorder α] [inst_1 : OrderBot α] {a : α}, ¬a ⋖ ⊥

theorem not_top_covBy E0 #

∀ {α : Type u} [inst : Preorder α] [inst_1 : OrderTop α] {a : α}, ¬⊤ ⋖ a

theorem ne_top_of_lt E1 #

∀ {α : Type u} [inst : Preorder α] [inst_1 : OrderTop α] {a b : α}, a < b → a ≠ ⊤

theorem ne_bot_of_gt E1 #

∀ {α : Type u} [inst : Preorder α] [inst_1 : OrderBot α] {a b : α}, b < a → a ≠ ⊥

theorem LT.lt.ne_top E1 #

∀ {α : Type u} [inst : Preorder α] [inst_1 : OrderTop α] {a b : α}, a < b → a ≠ ⊤

Alias of ne_top_of_lt.

theorem LT.lt.ne_bot E1 #

∀ {α : Type u} [inst : Preorder α] [inst_1 : OrderBot α] {a b : α}, b < a → a ≠ ⊥

Alias of ne_bot_of_gt.

theorem bot_lt_of_lt E1 #

∀ {α : Type u} [inst : Preorder α] [inst_1 : OrderBot α] {a b : α}, b < a → ⊥ < a

theorem lt_top_of_lt E1 #

∀ {α : Type u} [inst : Preorder α] [inst_1 : OrderTop α] {a b : α}, a < b → a < ⊤

theorem LT.lt.bot_lt E1 #

∀ {α : Type u} [inst : Preorder α] [inst_1 : OrderBot α] {a b : α}, b < a → ⊥ < a

Alias of bot_lt_of_lt.

theorem LT.lt.lt_top E1 #

∀ {α : Type u} [inst : Preorder α] [inst_1 : OrderTop α] {a b : α}, a < b → a < ⊤

Alias of lt_top_of_lt.

theorem bot_lt_iff_not_le_bot E1 #

∀ {α : Type u} [inst : Preorder α] [inst_1 : OrderBot α] {a : α}, ⊥ < a ↔ ¬a ≤ ⊥

theorem lt_top_iff_not_top_le E1 #

∀ {α : Type u} [inst : Preorder α] [inst_1 : OrderTop α] {a : α}, a < ⊤ ↔ ¬⊤ ≤ a

theorem not_isMax_iff_lt_top E1 #

∀ {α : Type u} [inst : Preorder α] [inst_1 : OrderTop α] {a : α}, ¬IsMax a ↔ a < ⊤

theorem not_isMin_iff_bot_lt E1 #

∀ {α : Type u} [inst : Preorder α] [inst_1 : OrderBot α] {a : α}, ¬IsMin a ↔ ⊥ < a

theorem isMax_iff_eq_top E0 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderTop α] {a : α}, IsMax a ↔ a = ⊤

theorem isMin_iff_eq_bot E0 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderBot α] {a : α}, IsMin a ↔ a = ⊥

theorem isBot_iff_eq_bot E0 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderBot α] {a : α}, IsBot a ↔ a = ⊥

theorem isTop_iff_eq_top E0 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderTop α] {a : α}, IsTop a ↔ a = ⊤

theorem not_isMin_iff_ne_bot E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderBot α] {a : α}, ¬IsMin a ↔ a ≠ ⊥

theorem not_isMax_iff_ne_top E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderTop α] {a : α}, ¬IsMax a ↔ a ≠ ⊤

theorem not_isTop_iff_ne_top E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderTop α] {a : α}, ¬IsTop a ↔ a ≠ ⊤

theorem not_isBot_iff_ne_bot E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderBot α] {a : α}, ¬IsBot a ↔ a ≠ ⊥

theorem le_bot_iff E0 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderBot α] {a : α}, a ≤ ⊥ ↔ a = ⊥

theorem top_le_iff E0 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderTop α] {a : α}, ⊤ ≤ a ↔ a = ⊤

theorem top_unique E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderTop α] {a : α}, ⊤ ≤ a → a = ⊤

theorem bot_unique E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderBot α] {a : α}, a ≤ ⊥ → a = ⊥

theorem bot_eq_mono E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderBot α] {a b : α}, b ≤ a → ⊥ = a → ⊥ = b

theorem top_eq_mono E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderTop α] {a b : α}, a ≤ b → ⊤ = a → ⊤ = b

theorem ne_top_mono E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderTop α] {a b : α}, b ≤ a → a ≠ ⊤ → b ≠ ⊤

theorem ne_bot_mono E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderBot α] {a b : α}, a ≤ b → a ≠ ⊥ → b ≠ ⊥

theorem top_ne_mono E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderTop α] {a b : α}, b ≤ a → ⊤ ≠ a → ⊤ ≠ b

theorem bot_ne_mono E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderBot α] {a b : α}, a ≤ b → ⊥ ≠ a → ⊥ ≠ b

theorem bot_lt_iff_ne_bot E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderBot α] {a : α}, ⊥ < a ↔ a ≠ ⊥

theorem lt_top_iff_ne_top E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderTop α] {a : α}, a < ⊤ ↔ a ≠ ⊤

theorem not_lt_top_iff E0 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderTop α] {a : α}, ¬a < ⊤ ↔ a = ⊤

theorem not_bot_lt_iff E0 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderBot α] {a : α}, ¬⊥ < a ↔ a = ⊥

theorem Ne.lt_top E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderTop α] {a : α}, a ≠ ⊤ → a < ⊤

theorem Ne.bot_lt E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderBot α] {a : α}, a ≠ ⊥ → ⊥ < a

theorem Ne.lt_top' E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderTop α] {a : α}, ⊤ ≠ a → a < ⊤

theorem Ne.bot_lt' E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderBot α] {a : α}, ⊥ ≠ a → ⊥ < a

theorem ne_bot_of_le_ne_bot E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderBot α] {a b : α}, b ≠ ⊥ → b ≤ a → a ≠ ⊥

theorem ne_top_of_le_ne_top E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderTop α] {a b : α}, b ≠ ⊤ → a ≤ b → a ≠ ⊤

theorem top_notMem_iff E0 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderTop α] {s : Set α}, ⊤ ∉ s ↔ ∀ x ∈ s, x < ⊤

theorem bot_notMem_iff E0 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderBot α] {s : Set α}, ⊥ ∉ s ↔ ∀ x ∈ s, ⊥ < x

theorem not_isMin_top E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderTop α] [Nontrivial α], ¬IsMin ⊤

theorem not_isMax_bot E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : OrderBot α] [Nontrivial α], ¬IsMax ⊥

theorem OrderBot.ext_bot E1 #

∀ {α : Type u_1} {hA : PartialOrder α} (A : OrderBot α) {hB : PartialOrder α} (B : OrderBot α),
  (∀ (y x : α), y ≤ x ↔ y ≤ x) → ⊥ = ⊥

theorem OrderTop.ext_top E1 #

∀ {α : Type u_1} {hA : PartialOrder α} (A : OrderTop α) {hB : PartialOrder α} (B : OrderTop α),
  (∀ (x y : α), x ≤ y ↔ x ≤ y) → ⊤ = ⊤

instance OrderDual.instBotOfTop E0 #

(α : Type u) → [h : Top α] → Bot αᵒᵈ

instance OrderDual.instTopOfBot E0 #

(α : Type u) → [h : Bot α] → Top αᵒᵈ

instance OrderDual.instOrderTopOfOrderBot E0 #

(α : Type u) → [inst : LE α] → [h : OrderBot α] → OrderTop αᵒᵈ

instance OrderDual.instOrderBotOfOrderTop E0 #

(α : Type u) → [inst : LE α] → [h : OrderTop α] → OrderBot αᵒᵈ

theorem OrderDual.ofDual_bot E0 #

∀ (α : Type u) [inst : Top α], OrderDual.ofDual ⊥ = ⊤

theorem OrderDual.ofDual_top E0 #

∀ (α : Type u) [inst : Bot α], OrderDual.ofDual ⊤ = ⊥

theorem OrderDual.toDual_top E0 #

∀ (α : Type u) [inst : Top α], OrderDual.toDual ⊤ = ⊥

theorem OrderDual.toDual_bot E0 #

∀ (α : Type u) [inst : Bot α], OrderDual.toDual ⊥ = ⊤

theorem OrderDual.ofDual_eq_top E0 #

∀ (α : Type u) [inst : Top α] {a : αᵒᵈ}, OrderDual.ofDual a = ⊤ ↔ a = ⊥

theorem OrderDual.ofDual_eq_bot E0 #

∀ (α : Type u) [inst : Bot α] {a : αᵒᵈ}, OrderDual.ofDual a = ⊥ ↔ a = ⊤

theorem OrderDual.toDual_eq_top E0 #

∀ (α : Type u) [inst : Bot α] {a : α}, OrderDual.toDual a = ⊤ ↔ a = ⊥

theorem OrderDual.toDual_eq_bot E0 #

∀ (α : Type u) [inst : Top α] {a : α}, OrderDual.toDual a = ⊥ ↔ a = ⊤

class BoundedOrder E1 #

(α : Type u) → [LE α] → Type u

A bounded order describes an order (≤) with a top and bottom element, denoted ⊤ and ⊥ respectively.

instance BoundedOrder.toOrderTop E0 #

{α : Type u} → {inst : LE α} → [self : BoundedOrder α] → OrderTop α

instance BoundedOrder.toOrderBot E0 #

{α : Type u} → {inst : LE α} → [self : BoundedOrder α] → OrderBot α

ctor BoundedOrder.mk E0 #

{α : Type u} → [inst : LE α] → [toOrderTop : OrderTop α] → [toOrderBot : OrderBot α] → BoundedOrder α

instance OrderDual.instBoundedOrder E0 #

(α : Type u) → [inst : LE α] → [BoundedOrder α] → BoundedOrder αᵒᵈ

instance OrderTop.instSubsingleton E0 #

∀ {α : Type u} [inst : PartialOrder α], Subsingleton (OrderTop α)

instance OrderBot.instSubsingleton E0 #

∀ {α : Type u} [inst : PartialOrder α], Subsingleton (OrderBot α)

instance BoundedOrder.instSubsingleton E0 #

∀ {α : Type u} [inst : PartialOrder α], Subsingleton (BoundedOrder α)

instance Pi.instBotForall E0 #

{ι : Type u_1} → {α' : ι → Type u_2} → [(i : ι) → Bot (α' i)] → Bot ((i : ι) → α' i)

instance Pi.instTopForall E0 #

{ι : Type u_1} → {α' : ι → Type u_2} → [(i : ι) → Top (α' i)] → Top ((i : ι) → α' i)

theorem Pi.bot_apply E0 #

∀ {ι : Type u_1} {α' : ι → Type u_2} [inst : (i : ι) → Bot (α' i)] (i : ι), ⊥ i = ⊥

theorem Pi.top_apply E0 #

∀ {ι : Type u_1} {α' : ι → Type u_2} [inst : (i : ι) → Top (α' i)] (i : ι), ⊤ i = ⊤

theorem Pi.top_def E0 #

∀ {ι : Type u_1} {α' : ι → Type u_2} [inst : (i : ι) → Top (α' i)], ⊤ = fun x ↦ ⊤

theorem Pi.bot_def E0 #

∀ {ι : Type u_1} {α' : ι → Type u_2} [inst : (i : ι) → Bot (α' i)], ⊥ = fun x ↦ ⊥

theorem Pi.bot_comp E0 #

∀ {α : Type u_3} {β : Type u_4} {γ : Type u_5} [inst : Bot γ] (x : α → β), ⊥ ∘ x = ⊥

theorem Pi.top_comp E0 #

∀ {α : Type u_3} {β : Type u_4} {γ : Type u_5} [inst : Top γ] (x : α → β), ⊤ ∘ x = ⊤

instance Pi.instOrderBot E0 #

{ι : Type u_1} →
  {α' : ι → Type u_2} → [inst : (i : ι) → LE (α' i)] → [(i : ι) → OrderBot (α' i)] → OrderBot ((i : ι) → α' i)

instance Pi.instOrderTop E0 #

{ι : Type u_1} →
  {α' : ι → Type u_2} → [inst : (i : ι) → LE (α' i)] → [(i : ι) → OrderTop (α' i)] → OrderTop ((i : ι) → α' i)

instance Pi.instBoundedOrder E0 #

{ι : Type u_1} →
  {α' : ι → Type u_2} → [inst : (i : ι) → LE (α' i)] → [(i : ι) → BoundedOrder (α' i)] → BoundedOrder ((i : ι) → α' i)

def BoundedOrder.ofUnique E1 #

(α : Type u_1) → [inst : Preorder α] → [Unique α] → BoundedOrder α

A type with a single element is a bounded order.

theorem subsingleton_of_top_le_bot E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : BoundedOrder α], ⊤ ≤ ⊥ → Subsingleton α

theorem subsingleton_of_top_eq_bot E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : BoundedOrder α], ⊤ = ⊥ → Subsingleton α

theorem subsingleton_of_bot_eq_top E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : BoundedOrder α], ⊥ = ⊤ → Subsingleton α

theorem subsingleton_iff_bot_eq_top E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : BoundedOrder α], ⊥ = ⊤ ↔ Subsingleton α

theorem subsingleton_iff_top_eq_bot E1 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : BoundedOrder α], ⊤ = ⊥ ↔ Subsingleton α

abbrev OrderTop.lift E1 #

{α : Type u} →
  {β : Type v} →
    [inst : LE α] →
      [inst_1 : Top α] →
        [inst_2 : LE β] → [inst_3 : OrderTop β] → (f : α → β) → (∀ (a b : α), f a ≤ f b → a ≤ b) → f ⊤ = ⊤ → OrderTop α

Pullback an OrderTop.

abbrev OrderBot.lift E1 #

{α : Type u} →
  {β : Type v} →
    [inst : LE α] →
      [inst_1 : Bot α] →
        [inst_2 : LE β] → [inst_3 : OrderBot β] → (f : α → β) → (∀ (b a : α), f b ≤ f a → b ≤ a) → f ⊥ = ⊥ → OrderBot α

Pullback an OrderBot.

abbrev BoundedOrder.lift E1 #

{α : Type u} →
  {β : Type v} →
    [inst : LE α] →
      [inst_1 : Top α] →
        [inst_2 : Bot α] →
          [inst_3 : LE β] →
            [inst_4 : BoundedOrder β] →
              (f : α → β) → (∀ (a b : α), f a ≤ f b → a ≤ b) → f ⊤ = ⊤ → f ⊥ = ⊥ → BoundedOrder α

Pullback a BoundedOrder.

abbrev Subtype.orderBot E1 #

{α : Type u} → {p : α → Prop} → [inst : LE α] → [inst_1 : OrderBot α] → p ⊥ → OrderBot { x // p x }

A subtype remains a ⊥-order if the property holds at ⊥.

abbrev Subtype.orderTop E1 #

{α : Type u} → {p : α → Prop} → [inst : LE α] → [inst_1 : OrderTop α] → p ⊤ → OrderTop { x // p x }

A subtype remains a ⊤-order if the property holds at ⊤.

abbrev Subtype.boundedOrder E1 #

{α : Type u} → {p : α → Prop} → [inst : LE α] → [inst_1 : BoundedOrder α] → p ⊥ → p ⊤ → BoundedOrder (Subtype p)

A subtype remains a bounded order if the property holds at ⊥ and ⊤.

theorem Subtype.mk_top E0 #

∀ {α : Type u} {p : α → Prop} [inst : PartialOrder α] [inst_1 : OrderTop α] [inst_2 : OrderTop (Subtype p)]
  (htop : p ⊤), ⟨⊤, htop⟩ = ⊤

theorem Subtype.mk_bot E0 #

∀ {α : Type u} {p : α → Prop} [inst : PartialOrder α] [inst_1 : OrderBot α] [inst_2 : OrderBot (Subtype p)]
  (hbot : p ⊥), ⟨⊥, hbot⟩ = ⊥

theorem Subtype.coe_top E0 #

∀ {α : Type u} {p : α → Prop} [inst : PartialOrder α] [inst_1 : OrderTop α] [inst_2 : OrderTop (Subtype p)],
  p ⊤ → ↑⊤ = ⊤

theorem Subtype.coe_bot E0 #

∀ {α : Type u} {p : α → Prop} [inst : PartialOrder α] [inst_1 : OrderBot α] [inst_2 : OrderBot (Subtype p)],
  p ⊥ → ↑⊥ = ⊥

theorem Subtype.coe_eq_top_iff E0 #

∀ {α : Type u} {p : α → Prop} [inst : PartialOrder α] [inst_1 : OrderTop α] [inst_2 : OrderTop (Subtype p)],
  p ⊤ → ∀ {x : { x // p x }}, ↑x = ⊤ ↔ x = ⊤

theorem Subtype.coe_eq_bot_iff E0 #

∀ {α : Type u} {p : α → Prop} [inst : PartialOrder α] [inst_1 : OrderBot α] [inst_2 : OrderBot (Subtype p)],
  p ⊥ → ∀ {x : { x // p x }}, ↑x = ⊥ ↔ x = ⊥

theorem Subtype.mk_eq_top_iff E0 #

∀ {α : Type u} {p : α → Prop} [inst : PartialOrder α] [inst_1 : OrderTop α] [inst_2 : OrderTop (Subtype p)],
  p ⊤ → ∀ {x : α} (hx : p x), ⟨x, hx⟩ = ⊤ ↔ x = ⊤

theorem Subtype.mk_eq_bot_iff E0 #

∀ {α : Type u} {p : α → Prop} [inst : PartialOrder α] [inst_1 : OrderBot α] [inst_2 : OrderBot (Subtype p)],
  p ⊥ → ∀ {x : α} (hx : p x), ⟨x, hx⟩ = ⊥ ↔ x = ⊥

instance Prod.instTop E0 #

(α : Type u) → (β : Type v) → [Top α] → [Top β] → Top (α × β)

instance Prod.instBot E0 #

(α : Type u) → (β : Type v) → [Bot α] → [Bot β] → Bot (α × β)

theorem Prod.fst_bot E0 #

∀ (α : Type u) (β : Type v) [inst : Bot α] [inst_1 : Bot β], ⊥.1 = ⊥

theorem Prod.fst_top E0 #

∀ (α : Type u) (β : Type v) [inst : Top α] [inst_1 : Top β], ⊤.1 = ⊤

theorem Prod.snd_top E0 #

∀ (α : Type u) (β : Type v) [inst : Top α] [inst_1 : Top β], ⊤.2 = ⊤

theorem Prod.snd_bot E0 #

∀ (α : Type u) (β : Type v) [inst : Bot α] [inst_1 : Bot β], ⊥.2 = ⊥

instance Prod.instOrderTop E0 #

(α : Type u) → (β : Type v) → [inst : LE α] → [inst_1 : LE β] → [OrderTop α] → [OrderTop β] → OrderTop (α × β)

instance Prod.instOrderBot E0 #

(α : Type u) → (β : Type v) → [inst : LE α] → [inst_1 : LE β] → [OrderBot α] → [OrderBot β] → OrderBot (α × β)

instance Prod.instBoundedOrder E0 #

(α : Type u) →
  (β : Type v) → [inst : LE α] → [inst_1 : LE β] → [BoundedOrder α] → [BoundedOrder β] → BoundedOrder (α × β)

instance ULift.instTop E0 #

{α : Type u} → [Top α] → Top (ULift.{v, u} α)

instance ULift.instBot E0 #

{α : Type u} → [Bot α] → Bot (ULift.{v, u} α)

theorem ULift.up_bot E0 #

∀ {α : Type u} [inst : Bot α], { down := ⊥ } = ⊥

theorem ULift.up_top E0 #

∀ {α : Type u} [inst : Top α], { down := ⊤ } = ⊤

theorem ULift.down_bot E0 #

∀ {α : Type u} [inst : Bot α], ⊥.down = ⊥

theorem ULift.down_top E0 #

∀ {α : Type u} [inst : Top α], ⊤.down = ⊤

instance ULift.instOrderTop E0 #

{α : Type u} → [inst : LE α] → [OrderTop α] → OrderTop (ULift.{v, u} α)

instance ULift.instOrderBot E0 #

{α : Type u} → [inst : LE α] → [OrderBot α] → OrderBot (ULift.{v, u} α)

instance ULift.instBoundedOrder E0 #

{α : Type u} → [inst : LE α] → [BoundedOrder α] → BoundedOrder (ULift.{v, u} α)

theorem top_ne_bot E0 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : BoundedOrder α] [Nontrivial α], ⊤ ≠ ⊥

theorem bot_ne_top E0 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : BoundedOrder α] [Nontrivial α], ⊥ ≠ ⊤

theorem bot_lt_top E0 #

∀ {α : Type u} [inst : PartialOrder α] [inst_1 : BoundedOrder α] [Nontrivial α], ⊥ < ⊤

instance Bool.instBoundedOrder E0 #

BoundedOrder Bool

theorem top_eq_true E0 #

⊤ = true

theorem bot_eq_false E0 #

⊥ = false