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.BourbakiWitt

47 declarations and 2 deprecated aliases. Mathlib docs · Source

Bourbaki-Witt Theorem

This file proves the Bourbaki-Witt Theorem.

Main definitions

  • class ChainCompletePartialOrder : A nonempty partial order is a chain complete partial order such that every nonempty chain has a supremum

Main statements

  • nonempty_fixedPoints_of_inflationary : The Bourbaki-Witt Theorem : If $X$ is a chain complete partial order and $f : X → X$ is inflationary (i.e. ∀ x, x ≤ f x), then $f$ has a fixed point

References

The proof used can be found in [serge_lang_algebra]

def NonemptyChain.ctorIdx E1 #

{α : Type u_4} → {inst : LE α} → NonemptyChain α → ℕ

def ChainCompletePartialOrder.ctorIdx E1 #

{α : Type u_4} → ChainCompletePartialOrder α → ℕ

theorem NonemptyChain.mk.inj E1 #

∀ {α : Type u_4} {inst : LE α} {carrier : Set α} {Nonempty' : carrier.Nonempty}
  {isChain' : IsChain (fun x1 x2 ↦ x1 ≤ x2) carrier} {carrier_1 : Set α} {Nonempty'_1 : carrier_1.Nonempty}
  {isChain'_1 : IsChain (fun x1 x2 ↦ x1 ≤ x2) carrier_1},
  { carrier := carrier, Nonempty' := Nonempty', isChain' := isChain' } =
      { carrier := carrier_1, Nonempty' := Nonempty'_1, isChain' := isChain'_1 } →
    carrier = carrier_1

theorem NonemptyChain.mk.injEq E0 #

∀ {α : Type u_4} [inst : LE α] (carrier : Set α) (Nonempty' : carrier.Nonempty)
  (isChain' : IsChain (fun x1 x2 ↦ x1 ≤ x2) carrier) (carrier_1 : Set α) (Nonempty'_1 : carrier_1.Nonempty)
  (isChain'_1 : IsChain (fun x1 x2 ↦ x1 ≤ x2) carrier_1),
  ({ carrier := carrier, Nonempty' := Nonempty', isChain' := isChain' } =
      { carrier := carrier_1, Nonempty' := Nonempty'_1, isChain' := isChain'_1 }) =
    (carrier = carrier_1)

structure NonemptyChain E1 #

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

The type of nonempty chains of an order

theorem NonemptyChain.ext_iff E0 #

∀ {α : Type u_4} {inst : LE α} {x y : NonemptyChain α}, x = y ↔ x.carrier = y.carrier

theorem NonemptyChain.ext E1 #

∀ {α : Type u_4} {inst : LE α} {x y : NonemptyChain α}, x.carrier = y.carrier → x = y

ctor NonemptyChain.mk E0 #

{α : Type u_4} →
  [inst : LE α] → (carrier : Set α) → carrier.Nonempty → IsChain (fun x1 x2 ↦ x1 ≤ x2) carrier → NonemptyChain α

abbrev NonemptyChain.carrier E1 #

{α : Type u_4} → [inst : LE α] → NonemptyChain α → Set α

The underlying set of a nonempty chain

theorem NonemptyChain.Nonempty' E1 #

∀ {α : Type u_4} [inst : LE α] (self : NonemptyChain α), self.carrier.Nonempty

theorem NonemptyChain.isChain' E1 #

∀ {α : Type u_4} [inst : LE α] (self : NonemptyChain α), IsChain (fun x1 x2 ↦ x1 ≤ x2) self.carrier

instance instSetLikeNonemptyChain E0 #

{α : Type u_4} → [inst : LE α] → SetLike (NonemptyChain α) α

instance instPartialOrderNonemptyChain E0 #

{α : Type u_4} → [inst : LE α] → PartialOrder (NonemptyChain α)

class ChainCompletePartialOrder E3 #

Type u_4 → Type u_4

A chain complete partial order (CCPO) is a nonempty partial order such that every nonempty chain has a supremum (which we call cSup)

ctor ChainCompletePartialOrder.mk E0 #

{α : Type u_4} →
  [toPartialOrder : PartialOrder α] →
    (cSup : NonemptyChain α → α) →
      (∀ (c : NonemptyChain α), ∀ x ∈ c.carrier, x ≤ cSup c) →
        (∀ (c : NonemptyChain α) (x : α), (∀ y ∈ c.carrier, y ≤ x) → cSup c ≤ x) → ChainCompletePartialOrder α

instance ChainCompletePartialOrder.toPartialOrder E0 #

{α : Type u_4} → [self : ChainCompletePartialOrder α] → PartialOrder α

abbrev ChainCompletePartialOrder.cSup E1 #

{α : Type u_4} → [self : ChainCompletePartialOrder α] → NonemptyChain α → α

The supremum of a nonempty chain

theorem ChainCompletePartialOrder.le_cSup E1 #

∀ {α : Type u_4} [self : ChainCompletePartialOrder α] (c : NonemptyChain α),
  ∀ x ∈ c.carrier, x ≤ ChainCompletePartialOrder.cSup c

cSup is an upper bound of the nonempty chain

theorem ChainCompletePartialOrder.cSup_le E1 #

∀ {α : Type u_4} [self : ChainCompletePartialOrder α] (c : NonemptyChain α) (x : α),
  (∀ y ∈ c.carrier, y ≤ x) → ChainCompletePartialOrder.cSup c ≤ x

cSup is a lower bound of the set of upper bounds of the nonempty chain

instance ChainCompletePartialOrder.instOmegaCompletePartialOrder E0 #

{α : Type u_1} → [ChainCompletePartialOrder α] → OmegaCompletePartialOrder α

instance ChainCompletePartialOrder.instOfCompleteLattice E0 #

{α : Type u_1} → [CompleteLattice α] → ChainCompletePartialOrder α

structure ChainCompletePartialOrder.IsAdmissible E1 #

{α : Type u_1} → [ChainCompletePartialOrder α] → α → (α → α) → Set α → Prop

An admissible set for given x : α and f : α → α has x, the base point, as a least element and is closed under applying f and cSup.

ctor ChainCompletePartialOrder.IsAdmissible.mk E0 #

∀ {α : Type u_1} [inst : ChainCompletePartialOrder α] {x : α} {f : α → α} {s : Set α},
  IsLeast s x →
    f '' s ⊆ s →
      (∀ (c : NonemptyChain α), ↑c ⊆ s → ChainCompletePartialOrder.cSup c ∈ s) →
        ChainCompletePartialOrder.IsAdmissible x f s

theorem ChainCompletePartialOrder.IsAdmissible.base_isLeast E1 #

∀ {α : Type u_1} [inst : ChainCompletePartialOrder α] {x : α} {f : α → α} {s : Set α},
  ChainCompletePartialOrder.IsAdmissible x f s → IsLeast s x

The base point is the least element of an admissible set

theorem ChainCompletePartialOrder.IsAdmissible.image_self_subset_self E1 #

∀ {α : Type u_1} [inst : ChainCompletePartialOrder α] {x : α} {f : α → α} {s : Set α},
  ChainCompletePartialOrder.IsAdmissible x f s → f '' s ⊆ s

The image of an admissible set under f is a subset of itself

theorem ChainCompletePartialOrder.IsAdmissible.cSup_mem E1 #

∀ {α : Type u_1} [inst : ChainCompletePartialOrder α] {x : α} {f : α → α} {s : Set α},
  ChainCompletePartialOrder.IsAdmissible x f s → ∀ (c : NonemptyChain α), ↑c ⊆ s → ChainCompletePartialOrder.cSup c ∈ s

If a chain is a subset of an admissible set, its cSup is a member of the admissible set

theorem ChainCompletePartialOrder.ici_isAdmissible E1 #

∀ {α : Type u_1} [inst : ChainCompletePartialOrder α] {x : α} {f : α → α},
  (∀ (x : α), x ≤ f x) → ChainCompletePartialOrder.IsAdmissible x f (Set.Ici x)

abbrev ChainCompletePartialOrder.bot E1 #

{α : Type u_1} → [ChainCompletePartialOrder α] → α → (α → α) → Set α

The bottom admissible set with base point x and inflationary function f

theorem ChainCompletePartialOrder.bot_isAdmissible E1 #

∀ {α : Type u_1} [inst : ChainCompletePartialOrder α] {x : α} {f : α → α},
  (∀ (x : α), x ≤ f x) → ChainCompletePartialOrder.IsAdmissible x f (ChainCompletePartialOrder.bot x f)

theorem ChainCompletePartialOrder.subset_bot_iff E0 #

∀ {α : Type u_1} [inst : ChainCompletePartialOrder α] {x : α} {f : α → α} {s : Set α},
  ChainCompletePartialOrder.IsAdmissible x f s →
    (s ⊆ ChainCompletePartialOrder.bot x f ↔ s = ChainCompletePartialOrder.bot x f)

theorem ChainCompletePartialOrder.map_mem_bot E0 #

∀ {α : Type u_1} [inst : ChainCompletePartialOrder α] {x : α} {f : α → α} {y : α},
  (∀ (x : α), x ≤ f x) → y ∈ ChainCompletePartialOrder.bot x f → f y ∈ ChainCompletePartialOrder.bot x f

structure ChainCompletePartialOrder.IsExtremePt E1 #

{α : Type u_1} → [ChainCompletePartialOrder α] → α → (α → α) → α → Prop

y is an extreme point for x : α and f : α → α if it is in the bottom admissible set and y is larger than f z for any z < y in the bottom admissible set. This definition comes from [serge_lang_algebra]

ctor ChainCompletePartialOrder.IsExtremePt.mk E0 #

∀ {α : Type u_1} [inst : ChainCompletePartialOrder α] {x : α} {f : α → α} {y : α},
  y ∈ ChainCompletePartialOrder.bot x f →
    (∀ {z : α}, z ∈ ChainCompletePartialOrder.bot x f → z < y → f z ≤ y) → ChainCompletePartialOrder.IsExtremePt x f y

theorem ChainCompletePartialOrder.IsExtremePt.mem_bot E0 #

∀ {α : Type u_1} [inst : ChainCompletePartialOrder α] {x : α} {f : α → α} {y : α},
  ChainCompletePartialOrder.IsExtremePt x f y → y ∈ ChainCompletePartialOrder.bot x f

theorem ChainCompletePartialOrder.IsExtremePt.map_le_of_mem_of_lt E0 #

∀ {α : Type u_1} [inst : ChainCompletePartialOrder α] {x : α} {f : α → α} {y : α},
  ChainCompletePartialOrder.IsExtremePt x f y → ∀ {z : α}, z ∈ ChainCompletePartialOrder.bot x f → z < y → f z ≤ y

theorem ChainCompletePartialOrder.IsExtremePt.bot_eq_of_le_or_map_le E1 #

∀ {α : Type u_1} [inst : ChainCompletePartialOrder α] {x : α} {f : α → α} {y : α},
  (∀ (x : α), x ≤ f x) →
    ChainCompletePartialOrder.IsExtremePt x f y →
      {z | z ∈ ChainCompletePartialOrder.bot x f ∧ (z ≤ y ∨ f y ≤ z)} = ChainCompletePartialOrder.bot x f

If y is an extreme point and f is inflationary, then there are no element between y and f y.

theorem ChainCompletePartialOrder.IsExtremePt.setOfPred_isExtremePt_isAdmissible E1 #

∀ {α : Type u_1} [inst : ChainCompletePartialOrder α] {x : α} {f : α → α},
  (∀ (x : α), x ≤ f x) → ChainCompletePartialOrder.IsAdmissible x f {y | ChainCompletePartialOrder.IsExtremePt x f y}

theorem ChainCompletePartialOrder.IsExtremePt.setOfPred_isExtremePt_eq_bot E1 #

∀ {α : Type u_1} [inst : ChainCompletePartialOrder α] {x : α} {f : α → α},
  (∀ (x : α), x ≤ f x) → {y | ChainCompletePartialOrder.IsExtremePt x f y} = ChainCompletePartialOrder.bot x f

theorem ChainCompletePartialOrder.IsExtremePt.mem_bot_iff_isExtremePt E0 #

∀ {α : Type u_1} [inst : ChainCompletePartialOrder α] {x : α} {f : α → α} {y : α},
  (∀ (x : α), x ≤ f x) → (y ∈ ChainCompletePartialOrder.bot x f ↔ ChainCompletePartialOrder.IsExtremePt x f y)

theorem ChainCompletePartialOrder.IsExtremePt.bot_isChain E1 #

∀ {α : Type u_1} [inst : ChainCompletePartialOrder α] {x : α} {f : α → α},
  (∀ (x : α), x ≤ f x) → IsChain (fun x1 x2 ↦ x1 ≤ x2) (ChainCompletePartialOrder.bot x f)

theorem ChainCompletePartialOrder.nonempty_fixedPoints_of_inflationary E3 #

∀ {α : Type u_1} [inst : ChainCompletePartialOrder α] {f : α → α} [Nonempty α],
  (∀ (x : α), x ≤ f x) → (Function.fixedPoints f).Nonempty

The Bourbaki-Witt Theorem: If α is a chain complete partial order and f : α → α is inflationary, then f has a fixed point

theorem CompleteLattice.ωScottContinuous.iSup E1 #

∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : CompleteLattice β]
  {f : ι → α → β},
  (∀ (i : ι), OmegaCompletePartialOrder.ωScottContinuous (f i)) → OmegaCompletePartialOrder.ωScottContinuous (⨆ i, f i)

theorem CompleteLattice.ωScottContinuous.sSup E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : OmegaCompletePartialOrder α] [inst_1 : CompleteLattice β] {s : Set (α → β)},
  (∀ f ∈ s, OmegaCompletePartialOrder.ωScottContinuous f) → OmegaCompletePartialOrder.ωScottContinuous (sSup s)

theorem CompleteLattice.ωScottContinuous.sup E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : OmegaCompletePartialOrder α] [inst_1 : CompleteLattice β] {f g : α → β},
  OmegaCompletePartialOrder.ωScottContinuous f →
    OmegaCompletePartialOrder.ωScottContinuous g → OmegaCompletePartialOrder.ωScottContinuous (f ⊔ g)

theorem CompleteLattice.ωScottContinuous.top E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : OmegaCompletePartialOrder α] [inst_1 : CompleteLattice β],
  OmegaCompletePartialOrder.ωScottContinuous ⊤

theorem CompleteLattice.ωScottContinuous.bot E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : OmegaCompletePartialOrder α] [inst_1 : CompleteLattice β],
  OmegaCompletePartialOrder.ωScottContinuous ⊥

theorem CompleteLattice.ωScottContinuous.inf E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : OmegaCompletePartialOrder α] [inst_1 : CompleteLinearOrder β] {f g : α → β},
  OmegaCompletePartialOrder.ωScottContinuous f →
    OmegaCompletePartialOrder.ωScottContinuous g → OmegaCompletePartialOrder.ωScottContinuous (f ⊓ g)

Deprecated aliases

NameNew nameSince
ChainCompletePartialOrder.IsExtremePt.setOf_isExtremePt_eq_botChainCompletePartialOrder.IsExtremePt.setOfPred_isExtremePt_eq_bot2026-07-09
ChainCompletePartialOrder.IsExtremePt.setOf_isExtremePt_isAdmissibleChainCompletePartialOrder.IsExtremePt.setOfPred_isExtremePt_isAdmissible2026-07-09