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

29 declarations. Mathlib docs · Source

Scott continuity

A function f : α → β between preorders is Scott continuous (referring to Dana Scott) if it distributes over IsLUB. Scott continuity corresponds to continuity in Scott topological spaces (defined in Mathlib/Topology/Order/ScottTopology.lean). It is distinct from the (more commonly used) continuity from topology (see Mathlib/Topology/Basic.lean).

Implementation notes

Given a set D of directed sets, we define say f is ScottContinuousOn D if it distributes over IsLUB for all elements of D. This allows us to consider Scott Continuity on all directed sets in this file, and ωScott Continuity on chains later in Mathlib/Order/OmegaCompletePartialOrder.lean.

References

  • [Abramsky and Jung, Domain Theory][abramsky_gabbay_maibaum_1994]
  • [Gierz et al, A Compendium of Continuous Lattices][GierzEtAl1980]

def ScottContinuousOn E1 #

{α : Type u_1} → {β : Type u_2} → [Preorder α] → [Preorder β] → Set (Set α) → (α → β) → Prop

A function between preorders is said to be Scott continuous on a set D of directed sets if it preserves IsLUB on elements of D.

The dual notion

∀ ⦃d : Set α⦄, d ∈ D →  d.Nonempty → DirectedOn (· ≥ ·) d → ∀ ⦃a⦄, IsGLB d a → IsGLB (f '' d) (f a)

does not appear to play a significant role in the literature, so is omitted here.

theorem ScottContinuousOn.mono E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {D₁ D₂ : Set (Set α)} {f : α → β},
  D₁ ⊆ D₂ → ScottContinuousOn D₂ f → ScottContinuousOn D₁ f

theorem ScottContinuousOn.monotone E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {f : α → β} (D : Set (Set α)),
  (∀ (a b : α), a ≤ b → {a, b} ∈ D) → ScottContinuousOn D f → Monotone f

theorem ScottContinuousOn.id E0 #

∀ {α : Type u_1} [inst : Preorder α] {D : Set (Set α)}, ScottContinuousOn D id

theorem ScottContinuousOn.fun_id E0 #

∀ {α : Type u_1} [inst : Preorder α] {D : Set (Set α)}, ScottContinuousOn D fun x ↦ x

Eta-expanded form of ScottContinuousOn.id

theorem ScottContinuousOn.const E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {D : Set (Set α)} (x : β),
  ScottContinuousOn D (Function.const α x)

theorem ScottContinuousOn.fun_const E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {D : Set (Set α)} (x : β),
  ScottContinuousOn D fun x_1 ↦ x

Eta-expanded form of ScottContinuousOn.const

theorem ScottContinuousOn.comp E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ]
  {D : Set (Set α)} {f : α → β} {g : β → γ} {D' : Set (Set β)},
  (∀ (a b : α), a ≤ b → {a, b} ∈ D) →
    Set.MapsTo (fun x ↦ f '' x) D D' → ScottContinuousOn D' g → ScottContinuousOn D f → ScottContinuousOn D (g ∘ f)

theorem ScottContinuousOn.fun_comp E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ]
  {D : Set (Set α)} {f : α → β} {g : β → γ} {D' : Set (Set β)},
  (∀ (a b : α), a ≤ b → {a, b} ∈ D) →
    Set.MapsTo (fun x ↦ f '' x) D D' →
      ScottContinuousOn D' g → ScottContinuousOn D f → ScottContinuousOn D fun x ↦ g (f x)

Eta-expanded form of ScottContinuousOn.comp

theorem ScottContinuousOn.image_comp E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ]
  {D : Set (Set α)} {f : α → β} {g : β → γ},
  (∀ (a b : α), a ≤ b → {a, b} ∈ D) →
    ScottContinuousOn ((fun x ↦ f '' x) '' D) g → ScottContinuousOn D f → ScottContinuousOn D (g ∘ f)

theorem ScottContinuousOn.fun_image_comp E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ]
  {D : Set (Set α)} {f : α → β} {g : β → γ},
  (∀ (a b : α), a ≤ b → {a, b} ∈ D) →
    ScottContinuousOn ((fun x ↦ f '' x) '' D) g → ScottContinuousOn D f → ScottContinuousOn D fun x ↦ g (f x)

Eta-expanded form of ScottContinuousOn.image_comp

theorem ScottContinuousOn.prodMk E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ]
  {D : Set (Set α)} {f : α → β} {g : α → γ},
  (∀ (a b : α), a ≤ b → {a, b} ∈ D) →
    ScottContinuousOn D f → ScottContinuousOn D g → ScottContinuousOn D fun x ↦ (f x, g x)

theorem ScottContinuousOn.fst E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {D : Set (Set (α × β))},
  ScottContinuousOn D Prod.fst

theorem ScottContinuousOn.snd E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {D : Set (Set (α × β))},
  ScottContinuousOn D Prod.snd

def ScottContinuous E1 #

{α : Type u_1} → {β : Type u_2} → [Preorder α] → [Preorder β] → (α → β) → Prop

A function between preorders is said to be Scott continuous if it preserves IsLUB on directed sets. It can be shown that a function is Scott continuous if and only if it is continuous w.r.t. the Scott topology.

theorem scottContinuousOn_univ E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {f : α → β},
  ScottContinuousOn Set.univ f ↔ ScottContinuous f

theorem ScottContinuous.scottContinuousOn E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {f : α → β} {D : Set (Set α)},
  ScottContinuous f → ScottContinuousOn D f

theorem ScottContinuous.monotone E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {f : α → β}, ScottContinuous f → Monotone f

theorem ScottContinuous.fun_id E0 #

∀ {α : Type u_1} [inst : Preorder α], ScottContinuous fun x ↦ x

Eta-expanded form of ScottContinuous.id

theorem ScottContinuous.id E0 #

∀ {α : Type u_1} [inst : Preorder α], ScottContinuous id

theorem ScottContinuous.const E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] (x : β), ScottContinuous (Function.const α x)

theorem ScottContinuous.fun_const E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] (x : β), ScottContinuous fun x_1 ↦ x

Eta-expanded form of ScottContinuous.const

theorem ScottContinuous.fun_comp E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ]
  {f : α → β} {g : β → γ}, ScottContinuous f → ScottContinuous g → ScottContinuous fun x ↦ g (f x)

Eta-expanded form of ScottContinuous.comp

theorem ScottContinuous.comp E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ]
  {f : α → β} {g : β → γ}, ScottContinuous f → ScottContinuous g → ScottContinuous (g ∘ f)

theorem ScottContinuous.prodMk E1 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ]
  {f : α → β} {g : α → γ}, ScottContinuous f → ScottContinuous g → ScottContinuous fun x ↦ (f x, g x)

theorem ScottContinuous.fst E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β], ScottContinuous Prod.fst

theorem ScottContinuous.snd E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β], ScottContinuous Prod.snd

theorem ScottContinuous.sup₂ E1 #

∀ {β : Type u_2} [inst : SemilatticeSup β], ScottContinuous fun b ↦ b.1 ⊔ b.2

The join operation is Scott continuous

theorem ScottContinuousOn.sup₂ E1 #

∀ {β : Type u_2} [inst : SemilatticeSup β] {D : Set (Set (β × β))},
  ScottContinuousOn D fun x ↦
    match x with
    | (a, b) => a ⊔ b