The areas / V04. Order and lattices
Mathlib.Order.OmegaCompletePartialOrder
160 declarations and 2 deprecated aliases. Mathlib docs · Source
Omega Complete Partial Orders
An omega-complete partial order is a partial order with a supremum
operation on increasing sequences indexed by natural numbers (which we
call ωSup). In this sense, it is strictly weaker than join complete
semi-lattices as only ω-sized totally ordered sets have a supremum.
The concept of an omega-complete partial order (ωCPO) is useful for the formalization of the semantics of programming languages. Its notion of supremum helps define the meaning of recursive procedures.
Main definitions
- class
OmegaCompletePartialOrder ite,map,bind,seqas continuous morphisms
Instances of OmegaCompletePartialOrder
Part- every
CompleteLattice(proved inBourbakiWittas a special case of chain-complete partial orders) - pi-types
- product types
OrderHomContinuousHom(with notation →𝒄)- an instance of
OmegaCompletePartialOrder (α →𝒄 β)
- an instance of
ContinuousHom.ofFunContinuousHom.ofMono- continuous functions:
iditeconstPart.bindPart.mapPart.seq
References
- [Chain-complete posets and directed sets with applications][markowsky1976]
- [Recursive definitions of partial functions and their computations][cadiou1972]
- [Semantics of Programming Languages: Structures and Techniques][gunter1992]
theorem OmegaCompletePartialOrder.Chain.mk.injEq E0 #
∀ {α : Type u} [inst : Preorder α] (toOrderHom toOrderHom_1 : ℕ →o α),
({ toOrderHom := toOrderHom } = { toOrderHom := toOrderHom_1 }) = (toOrderHom = toOrderHom_1)
theorem OmegaCompletePartialOrder.ContinuousHom.mk.inj E1 #
∀ {α : Type u_2} {β : Type u_3} {inst : OmegaCompletePartialOrder α} {inst_1 : OmegaCompletePartialOrder β}
{toOrderHom : α →o β}
{map_ωSup' :
∀ (c : OmegaCompletePartialOrder.Chain α),
toOrderHom.toFun (OmegaCompletePartialOrder.ωSup c) = OmegaCompletePartialOrder.ωSup (c.map toOrderHom)}
{toOrderHom_1 : α →o β}
{map_ωSup'_1 :
∀ (c : OmegaCompletePartialOrder.Chain α),
toOrderHom_1.toFun (OmegaCompletePartialOrder.ωSup c) = OmegaCompletePartialOrder.ωSup (c.map toOrderHom_1)},
{ toOrderHom := toOrderHom, map_ωSup' := map_ωSup' } = { toOrderHom := toOrderHom_1, map_ωSup' := map_ωSup'_1 } →
toOrderHom = toOrderHom_1
theorem OmegaCompletePartialOrder.Chain.pair.match_1.congr_eq_2 E1 #
∀ (motive : ℕ → Sort u_1) (x : ℕ) (h_1 : Unit → motive 0) (h_2 : (x : ℕ) → motive x) (x_1 : ℕ),
x = x_1 →
(x_1 = 0 → False) →
(match x with
| 0 => h_1 ()
| x => h_2 x) ≍
h_2 x_1
def OmegaCompletePartialOrder.Chain.ctorIdx E1 #
{α : Type u} → {inst : Preorder α} → OmegaCompletePartialOrder.Chain α → ℕ
theorem OmegaCompletePartialOrder.Chain.pair.congr_simp E1 #
∀ {α : Type u_2} [inst : Preorder α] (a a_1 : α) (e_a : a = a_1) (b b_1 : α) (e_b : b = b_1) (hab : a ≤ b),
OmegaCompletePartialOrder.Chain.pair a b hab = OmegaCompletePartialOrder.Chain.pair a_1 b_1 ⋯
theorem OmegaCompletePartialOrder.Chain.mk.inj E1 #
∀ {α : Type u} {inst : Preorder α} {toOrderHom toOrderHom_1 : ℕ →o α},
{ toOrderHom := toOrderHom } = { toOrderHom := toOrderHom_1 } → toOrderHom = toOrderHom_1
def OmegaCompletePartialOrder.ContinuousHom.ctorIdx E1 #
{α : Type u_2} →
{β : Type u_3} → {inst : OmegaCompletePartialOrder α} → {inst_1 : OmegaCompletePartialOrder β} → (α →𝒄 β) → ℕ
theorem OmegaCompletePartialOrder.ContinuousHom.mk.injEq E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(toOrderHom : α →o β)
(map_ωSup' :
∀ (c : OmegaCompletePartialOrder.Chain α),
toOrderHom.toFun (OmegaCompletePartialOrder.ωSup c) = OmegaCompletePartialOrder.ωSup (c.map toOrderHom))
(toOrderHom_1 : α →o β)
(map_ωSup'_1 :
∀ (c : OmegaCompletePartialOrder.Chain α),
toOrderHom_1.toFun (OmegaCompletePartialOrder.ωSup c) = OmegaCompletePartialOrder.ωSup (c.map toOrderHom_1)),
({ toOrderHom := toOrderHom, map_ωSup' := map_ωSup' } = { toOrderHom := toOrderHom_1, map_ωSup' := map_ωSup'_1 }) =
(toOrderHom = toOrderHom_1)
theorem OmegaCompletePartialOrder.fixedPoints.iterateChain.congr_simp E1 #
∀ {α : Type u_2} [inst : OmegaCompletePartialOrder α] (f f_1 : α →o α) (e_f : f = f_1) (x x_1 : α) (e_x : x = x_1)
(h : x ≤ f x),
OmegaCompletePartialOrder.fixedPoints.iterateChain f x h =
OmegaCompletePartialOrder.fixedPoints.iterateChain f_1 x_1 ⋯
def OmegaCompletePartialOrder.ctorIdx E1 #
{α : Type u_6} → OmegaCompletePartialOrder α → ℕ
theorem OmegaCompletePartialOrder.ContinuousHom.mk.congr_simp E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(toOrderHom toOrderHom_1 : α →o β) (e_toOrderHom : toOrderHom = toOrderHom_1)
(map_ωSup' :
∀ (c : OmegaCompletePartialOrder.Chain α),
toOrderHom.toFun (OmegaCompletePartialOrder.ωSup c) = OmegaCompletePartialOrder.ωSup (c.map toOrderHom)),
{ toOrderHom := toOrderHom, map_ωSup' := map_ωSup' } = { toOrderHom := toOrderHom_1, map_ωSup' := ⋯ }
structure OmegaCompletePartialOrder.Chain E1 #
(α : Type u) → [Preorder α] → Type u
A chain is a monotone sequence.
This is made a one-field structure around order homomorphisms ℕ →o α because we want to endow
chains with the domination order rather than the pointwise order. See Chain.instLE.
See the definition on page 114 of [gunter1992].
ctor OmegaCompletePartialOrder.Chain.mk E0 #
{α : Type u} → [inst : Preorder α] → (ℕ →o α) → OmegaCompletePartialOrder.Chain α
abbrev OmegaCompletePartialOrder.Chain.toOrderHom E1 #
{α : Type u} → [inst : Preorder α] → OmegaCompletePartialOrder.Chain α → ℕ →o α
instance OmegaCompletePartialOrder.Chain.instFunLikeNat E0 #
{α : Type u_2} → [inst : Preorder α] → FunLike (OmegaCompletePartialOrder.Chain α) ℕ α
instance OmegaCompletePartialOrder.Chain.instOrderHomClassNat E0 #
∀ {α : Type u_2} [inst : Preorder α], OrderHomClass (OmegaCompletePartialOrder.Chain α) ℕ α
theorem OmegaCompletePartialOrder.Chain.ext E1 #
∀ {α : Type u_2} [inst : Preorder α] ⦃f g : OmegaCompletePartialOrder.Chain α⦄, ⇑f = ⇑g → f = g
See note [partially-applied ext lemmas].
theorem OmegaCompletePartialOrder.Chain.ext_iff E0 #
∀ {α : Type u_2} [inst : Preorder α] {f g : OmegaCompletePartialOrder.Chain α}, f = g ↔ ⇑f = ⇑g
theorem OmegaCompletePartialOrder.Chain.coe_toOrderHom E0 #
∀ {α : Type u_2} [inst : Preorder α] (c : OmegaCompletePartialOrder.Chain α), ⇑c.toOrderHom = ⇑c
instance OmegaCompletePartialOrder.Chain.instInhabited E0 #
{α : Type u_2} → [inst : Preorder α] → [Inhabited α] → Inhabited (OmegaCompletePartialOrder.Chain α)
instance OmegaCompletePartialOrder.Chain.instMembership E0 #
{α : Type u_2} → [inst : Preorder α] → Membership α (OmegaCompletePartialOrder.Chain α)
instance OmegaCompletePartialOrder.Chain.instLE E0 #
{α : Type u_2} → [inst : Preorder α] → LE (OmegaCompletePartialOrder.Chain α)
theorem OmegaCompletePartialOrder.Chain.isChain_range E1 #
∀ {α : Type u_2} [inst : Preorder α] (c : OmegaCompletePartialOrder.Chain α),
IsChain (fun x1 x2 ↦ x1 ≤ x2) (Set.range ⇑c)
theorem OmegaCompletePartialOrder.Chain.directed E1 #
∀ {α : Type u_2} [inst : Preorder α] (c : OmegaCompletePartialOrder.Chain α), Directed (fun x1 x2 ↦ x1 ≤ x2) ⇑c
def OmegaCompletePartialOrder.Chain.map E1 #
{α : Type u_2} →
{β : Type u_3} →
[inst : Preorder α] →
[inst_1 : Preorder β] → OmegaCompletePartialOrder.Chain α → (α →o β) → OmegaCompletePartialOrder.Chain β
map function for Chain
theorem OmegaCompletePartialOrder.Chain.map_toOrderHom E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] (c : OmegaCompletePartialOrder.Chain α)
(f : α →o β), (c.map f).toOrderHom = f.comp c.toOrderHom
theorem OmegaCompletePartialOrder.Chain.coe_map E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] (c : OmegaCompletePartialOrder.Chain α)
(f : α →o β), ⇑(c.map f) = ⇑f ∘ ⇑c
theorem OmegaCompletePartialOrder.Chain.mem_map E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] (c : OmegaCompletePartialOrder.Chain α)
{f : α →o β}, ∀ x ∈ c, f x ∈ c.map f
theorem OmegaCompletePartialOrder.Chain.exists_of_mem_map E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] (c : OmegaCompletePartialOrder.Chain α)
{f : α →o β} {b : β}, b ∈ c.map f → ∃ a ∈ c, f a = b
theorem OmegaCompletePartialOrder.Chain.mem_map_iff E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] (c : OmegaCompletePartialOrder.Chain α)
{f : α →o β} {b : β}, b ∈ c.map f ↔ ∃ a ∈ c, f a = b
theorem OmegaCompletePartialOrder.Chain.map_id E0 #
∀ {α : Type u_2} [inst : Preorder α] (c : OmegaCompletePartialOrder.Chain α), c.map OrderHom.id = c
theorem OmegaCompletePartialOrder.Chain.map_comp E0 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ]
(c : OmegaCompletePartialOrder.Chain α) {f : α →o β} (g : β →o γ), (c.map f).map g = c.map (g.comp f)
theorem OmegaCompletePartialOrder.Chain.map_le_map E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] (c : OmegaCompletePartialOrder.Chain α)
{f g : α →o β}, f ≤ g → c.map f ≤ c.map g
def OmegaCompletePartialOrder.Chain.zip E1 #
{α : Type u_2} →
{β : Type u_3} →
[inst : Preorder α] →
[inst_1 : Preorder β] →
OmegaCompletePartialOrder.Chain α → OmegaCompletePartialOrder.Chain β → OmegaCompletePartialOrder.Chain (α × β)
OmegaCompletePartialOrder.Chain.zip pairs up the elements of two chains
that have the same index.
theorem OmegaCompletePartialOrder.Chain.zip_toOrderHom E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] (c₀ : OmegaCompletePartialOrder.Chain α)
(c₁ : OmegaCompletePartialOrder.Chain β), (c₀.zip c₁).toOrderHom = c₀.prod c₁.toOrderHom
theorem OmegaCompletePartialOrder.Chain.zip_apply E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] (c₀ : OmegaCompletePartialOrder.Chain α)
(c₁ : OmegaCompletePartialOrder.Chain β) (n : ℕ), (c₀.zip c₁) n = (c₀ n, c₁ n)
def OmegaCompletePartialOrder.Chain.pair E1 #
{α : Type u_2} → [inst : Preorder α] → (a b : α) → a ≤ b → OmegaCompletePartialOrder.Chain α
An example of a Chain constructed from an ordered pair.
theorem OmegaCompletePartialOrder.Chain.pair_zero E0 #
∀ {α : Type u_2} [inst : Preorder α] (a b : α) (hab : a ≤ b), (OmegaCompletePartialOrder.Chain.pair a b hab) 0 = a
theorem OmegaCompletePartialOrder.Chain.pair_succ E0 #
∀ {α : Type u_2} [inst : Preorder α] (a b : α) (hab : a ≤ b) (n : ℕ),
(OmegaCompletePartialOrder.Chain.pair a b hab) (n + 1) = b
theorem OmegaCompletePartialOrder.Chain.range_pair E0 #
∀ {α : Type u_2} [inst : Preorder α] (a b : α) (hab : a ≤ b),
Set.range ⇑(OmegaCompletePartialOrder.Chain.pair a b hab) = {a, b}
theorem OmegaCompletePartialOrder.Chain.pair_zip_pair E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] (a₁ a₂ : α) (b₁ b₂ : β) (ha : a₁ ≤ a₂)
(hb : b₁ ≤ b₂),
(OmegaCompletePartialOrder.Chain.pair a₁ a₂ ha).zip (OmegaCompletePartialOrder.Chain.pair b₁ b₂ hb) =
OmegaCompletePartialOrder.Chain.pair (a₁, b₁) (a₂, b₂) ⋯
class OmegaCompletePartialOrder E3 #
Type u_6 → Type u_6
An omega-complete partial order is a partial order with a supremum
operation on increasing sequences indexed by natural numbers (which we
call ωSup). In this sense, it is strictly weaker than join complete
semi-lattices as only ω-sized totally ordered sets have a supremum.
See the definition on page 114 of [gunter1992].
instance OmegaCompletePartialOrder.toPartialOrder E0 #
{α : Type u_6} → [self : OmegaCompletePartialOrder α] → PartialOrder α
ctor OmegaCompletePartialOrder.mk E0 #
{α : Type u_6} →
[toPartialOrder : PartialOrder α] →
(ωSup : OmegaCompletePartialOrder.Chain α → α) →
(∀ (c : OmegaCompletePartialOrder.Chain α) (i : ℕ), c i ≤ ωSup c) →
(∀ (c : OmegaCompletePartialOrder.Chain α) (x : α), (∀ (i : ℕ), c i ≤ x) → ωSup c ≤ x) →
OmegaCompletePartialOrder α
abbrev OmegaCompletePartialOrder.ωSup E1 #
{α : Type u_6} → [self : OmegaCompletePartialOrder α] → OmegaCompletePartialOrder.Chain α → α
The supremum of an increasing sequence
theorem OmegaCompletePartialOrder.le_ωSup E1 #
∀ {α : Type u_6} [self : OmegaCompletePartialOrder α] (c : OmegaCompletePartialOrder.Chain α) (i : ℕ),
c i ≤ OmegaCompletePartialOrder.ωSup c
ωSup is an upper bound of the increasing sequence
theorem OmegaCompletePartialOrder.ωSup_le E1 #
∀ {α : Type u_6} [self : OmegaCompletePartialOrder α] (c : OmegaCompletePartialOrder.Chain α) (x : α),
(∀ (i : ℕ), c i ≤ x) → OmegaCompletePartialOrder.ωSup c ≤ x
ωSup is a lower bound of the set of upper bounds of the increasing sequence
abbrev OmegaCompletePartialOrder.lift E1 #
{α : Type u_2} →
{β : Type u_3} →
[inst : OmegaCompletePartialOrder α] →
[inst_1 : PartialOrder β] →
(f : β →o α) →
(ωSup₀ : OmegaCompletePartialOrder.Chain β → β) →
(∀ (x y : β), f x ≤ f y → x ≤ y) →
(∀ (c : OmegaCompletePartialOrder.Chain β), f (ωSup₀ c) = OmegaCompletePartialOrder.ωSup (c.map f)) →
OmegaCompletePartialOrder β
Transfer an OmegaCompletePartialOrder on β to an OmegaCompletePartialOrder on α
using a strictly monotone function f : β →o α, a definition of ωSup and a proof that f is
continuous with regard to the provided ωSup and the ωCPO on α.
theorem OmegaCompletePartialOrder.le_ωSup_of_le E1 #
∀ {α : Type u_2} [inst : OmegaCompletePartialOrder α] {c : OmegaCompletePartialOrder.Chain α} {x : α} (i : ℕ),
x ≤ c i → x ≤ OmegaCompletePartialOrder.ωSup c
theorem OmegaCompletePartialOrder.ωSup_total E1 #
∀ {α : Type u_2} [inst : OmegaCompletePartialOrder α] {c : OmegaCompletePartialOrder.Chain α} {x : α},
(∀ (i : ℕ), c i ≤ x ∨ x ≤ c i) → OmegaCompletePartialOrder.ωSup c ≤ x ∨ x ≤ OmegaCompletePartialOrder.ωSup c
theorem OmegaCompletePartialOrder.ωSup_le_ωSup_of_le E1 #
∀ {α : Type u_2} [inst : OmegaCompletePartialOrder α] {c₀ c₁ : OmegaCompletePartialOrder.Chain α},
c₀ ≤ c₁ → OmegaCompletePartialOrder.ωSup c₀ ≤ OmegaCompletePartialOrder.ωSup c₁
theorem OmegaCompletePartialOrder.ωSup_le_iff E0 #
∀ {α : Type u_2} [inst : OmegaCompletePartialOrder α] {c : OmegaCompletePartialOrder.Chain α} {x : α},
OmegaCompletePartialOrder.ωSup c ≤ x ↔ ∀ (i : ℕ), c i ≤ x
theorem OmegaCompletePartialOrder.isLUB_range_ωSup E1 #
∀ {α : Type u_2} [inst : OmegaCompletePartialOrder α] (c : OmegaCompletePartialOrder.Chain α),
IsLUB (Set.range ⇑c) (OmegaCompletePartialOrder.ωSup c)
theorem OmegaCompletePartialOrder.ωSup_eq_of_isLUB E1 #
∀ {α : Type u_2} [inst : OmegaCompletePartialOrder α] {c : OmegaCompletePartialOrder.Chain α} {a : α},
IsLUB (Set.range ⇑c) a → a = OmegaCompletePartialOrder.ωSup c
def OmegaCompletePartialOrder.subtype E1 #
{α : Type u_6} →
[inst : OmegaCompletePartialOrder α] →
(p : α → Prop) →
(∀ (c : OmegaCompletePartialOrder.Chain α), (∀ i ∈ c, p i) → p (OmegaCompletePartialOrder.ωSup c)) →
OmegaCompletePartialOrder (Subtype p)
A subset p : α → Prop of the type closed under ωSup induces an
OmegaCompletePartialOrder on the subtype {a : α // p a}.
def OmegaCompletePartialOrder.ωScottContinuous E1 #
{α : Type u_2} → {β : Type u_3} → [OmegaCompletePartialOrder α] → [OmegaCompletePartialOrder β] → (α → β) → Prop
A function f between ω-complete partial orders is ωScottContinuous if it is
Scott continuous over chains.
theorem ScottContinuous.ωScottContinuous E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β] {f : α → β},
ScottContinuous f → OmegaCompletePartialOrder.ωScottContinuous f
theorem OmegaCompletePartialOrder.ωScottContinuous.monotone E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β] {f : α → β},
OmegaCompletePartialOrder.ωScottContinuous f → Monotone f
theorem OmegaCompletePartialOrder.ωScottContinuous.isLUB E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β] {f : α → β}
{c : OmegaCompletePartialOrder.Chain α} (hf : OmegaCompletePartialOrder.ωScottContinuous f),
IsLUB (Set.range ⇑(c.map { toFun := f, monotone' := ⋯ })) (f (OmegaCompletePartialOrder.ωSup c))
theorem OmegaCompletePartialOrder.ωScottContinuous.id E0 #
∀ {α : Type u_2} [inst : OmegaCompletePartialOrder α], OmegaCompletePartialOrder.ωScottContinuous id
theorem OmegaCompletePartialOrder.ωScottContinuous.fun_id E0 #
∀ {α : Type u_2} [inst : OmegaCompletePartialOrder α], OmegaCompletePartialOrder.ωScottContinuous fun x ↦ x
Eta-expanded form of OmegaCompletePartialOrder.ωScottContinuous.id
theorem OmegaCompletePartialOrder.ωScottContinuous.map_ωSup E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β] {f : α → β}
(hf : OmegaCompletePartialOrder.ωScottContinuous f) (c : OmegaCompletePartialOrder.Chain α),
f (OmegaCompletePartialOrder.ωSup c) = OmegaCompletePartialOrder.ωSup (c.map { toFun := f, monotone' := ⋯ })
theorem OmegaCompletePartialOrder.ωScottContinuous_iff_monotone_map_ωSup E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β] {f : α → β},
OmegaCompletePartialOrder.ωScottContinuous f ↔
∃ (hf : Monotone f),
∀ (c : OmegaCompletePartialOrder.Chain α),
f (OmegaCompletePartialOrder.ωSup c) = OmegaCompletePartialOrder.ωSup (c.map { toFun := f, monotone' := hf })
ωScottContinuous f asserts that f is both monotone and distributes over ωSup.
theorem OmegaCompletePartialOrder.ωScottContinuous.monotone_map_ωSup E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β] {f : α → β},
OmegaCompletePartialOrder.ωScottContinuous f →
∃ (hf : Monotone f),
∀ (c : OmegaCompletePartialOrder.Chain α),
f (OmegaCompletePartialOrder.ωSup c) = OmegaCompletePartialOrder.ωSup (c.map { toFun := f, monotone' := hf })
Alias of the forward direction of OmegaCompletePartialOrder.ωScottContinuous_iff_monotone_map_ωSup.
ωScottContinuous f asserts that f is both monotone and distributes over ωSup.
theorem OmegaCompletePartialOrder.ωScottContinuous.of_monotone_map_ωSup E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β] {f : α → β},
(∃ (hf : Monotone f),
∀ (c : OmegaCompletePartialOrder.Chain α),
f (OmegaCompletePartialOrder.ωSup c) = OmegaCompletePartialOrder.ωSup (c.map { toFun := f, monotone' := hf })) →
OmegaCompletePartialOrder.ωScottContinuous f
Alias of the reverse direction of OmegaCompletePartialOrder.ωScottContinuous_iff_monotone_map_ωSup.
ωScottContinuous f asserts that f is both monotone and distributes over ωSup.
theorem OmegaCompletePartialOrder.ωScottContinuous_iff_map_ωSup_of_orderHom E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
{f : α →o β},
OmegaCompletePartialOrder.ωScottContinuous ⇑f ↔
∀ (c : OmegaCompletePartialOrder.Chain α),
f (OmegaCompletePartialOrder.ωSup c) = OmegaCompletePartialOrder.ωSup (c.map f)
A monotone function f : α →o β is ωScott continuous if and only if it distributes over ωSup.
theorem OmegaCompletePartialOrder.ωScottContinuous.map_ωSup_of_orderHom E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
{f : α →o β},
OmegaCompletePartialOrder.ωScottContinuous ⇑f →
∀ (c : OmegaCompletePartialOrder.Chain α),
f (OmegaCompletePartialOrder.ωSup c) = OmegaCompletePartialOrder.ωSup (c.map f)
Alias of the forward direction of OmegaCompletePartialOrder.ωScottContinuous_iff_map_ωSup_of_orderHom.
A monotone function f : α →o β is ωScott continuous if and only if it distributes over ωSup.
theorem OmegaCompletePartialOrder.ωScottContinuous.of_map_ωSup_of_orderHom E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
{f : α →o β},
(∀ (c : OmegaCompletePartialOrder.Chain α),
f (OmegaCompletePartialOrder.ωSup c) = OmegaCompletePartialOrder.ωSup (c.map f)) →
OmegaCompletePartialOrder.ωScottContinuous ⇑f
Alias of the reverse direction of OmegaCompletePartialOrder.ωScottContinuous_iff_map_ωSup_of_orderHom.
A monotone function f : α →o β is ωScott continuous if and only if it distributes over ωSup.
theorem OmegaCompletePartialOrder.ωScottContinuous.comp E1 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : OmegaCompletePartialOrder α]
[inst_1 : OmegaCompletePartialOrder β] [inst_2 : OmegaCompletePartialOrder γ] {f : α → β} {g : β → γ},
OmegaCompletePartialOrder.ωScottContinuous g →
OmegaCompletePartialOrder.ωScottContinuous f → OmegaCompletePartialOrder.ωScottContinuous (g ∘ f)
theorem OmegaCompletePartialOrder.ωScottContinuous.fun_comp E1 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : OmegaCompletePartialOrder α]
[inst_1 : OmegaCompletePartialOrder β] [inst_2 : OmegaCompletePartialOrder γ] {f : α → β} {g : β → γ},
OmegaCompletePartialOrder.ωScottContinuous g →
OmegaCompletePartialOrder.ωScottContinuous f → OmegaCompletePartialOrder.ωScottContinuous fun x ↦ g (f x)
Eta-expanded form of OmegaCompletePartialOrder.ωScottContinuous.comp
theorem OmegaCompletePartialOrder.ωScottContinuous.const E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β] {x : β},
OmegaCompletePartialOrder.ωScottContinuous (Function.const α x)
theorem OmegaCompletePartialOrder.ωScottContinuous.fun_const E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β] {x : β},
OmegaCompletePartialOrder.ωScottContinuous fun x_1 ↦ x
Eta-expanded form of OmegaCompletePartialOrder.ωScottContinuous.const
def Part.ωSup E1 #
{α : Type u_2} → OmegaCompletePartialOrder.Chain (Part α) → Part α
The (noncomputable) ωSup definition for the ω-CPO structure on Part α.
theorem Part.ωSup_eq_some E1 #
∀ {α : Type u_2} {c : OmegaCompletePartialOrder.Chain (Part α)} {a : α}, Part.some a ∈ c → Part.ωSup c = Part.some a
theorem Part.ωSup_eq_none E1 #
∀ {α : Type u_2} {c : OmegaCompletePartialOrder.Chain (Part α)}, (¬∃ a, Part.some a ∈ c) → Part.ωSup c = Part.none
theorem Part.mem_chain_of_mem_ωSup E0 #
∀ {α : Type u_2} {c : OmegaCompletePartialOrder.Chain (Part α)} {a : α}, a ∈ Part.ωSup c → Part.some a ∈ c
instance Part.omegaCompletePartialOrder E0 #
{α : Type u_2} → OmegaCompletePartialOrder (Part α)
theorem Part.mem_ωSup E0 #
∀ {α : Type u_2} (x : α) (c : OmegaCompletePartialOrder.Chain (Part α)),
x ∈ OmegaCompletePartialOrder.ωSup c ↔ Part.some x ∈ c
instance Pi.instOmegaCompletePartialOrder E0 #
{α : Type u_2} →
{β : α → Type u_6} → [(a : α) → OmegaCompletePartialOrder (β a)] → OmegaCompletePartialOrder ((a : α) → β a)
theorem Pi.ωSup_def E0 #
∀ {α : Type u_2} {β : α → Type u_6} [inst : (a : α) → OmegaCompletePartialOrder (β a)]
(c : OmegaCompletePartialOrder.Chain ((a : α) → β a)),
OmegaCompletePartialOrder.ωSup c = fun a ↦ OmegaCompletePartialOrder.ωSup (c.map (Pi.evalOrderHom a))
theorem Pi.ωSup_apply E0 #
∀ {α : Type u_2} {β : α → Type u_6} [inst : (a : α) → OmegaCompletePartialOrder (β a)]
(c : OmegaCompletePartialOrder.Chain ((a : α) → β a)) (a : α),
OmegaCompletePartialOrder.ωSup c a = OmegaCompletePartialOrder.ωSup (c.map (Pi.evalOrderHom a))
theorem OmegaCompletePartialOrder.ωScottContinuous.apply₂ E1 #
∀ {α : Type u_2} {γ : Type u_4} {β : α → Type u_6} [inst : (a : α) → OmegaCompletePartialOrder (β a)]
[inst_1 : OmegaCompletePartialOrder γ] {f : γ → (x : α) → β x},
OmegaCompletePartialOrder.ωScottContinuous f → ∀ (a : α), OmegaCompletePartialOrder.ωScottContinuous fun x ↦ f x a
theorem OmegaCompletePartialOrder.ωScottContinuous.apply E1 #
∀ {α : Type u_2} {β : α → Type u_6} [inst : (a : α) → OmegaCompletePartialOrder (β a)] (x : α),
OmegaCompletePartialOrder.ωScottContinuous fun f ↦ f x
theorem OmegaCompletePartialOrder.ωScottContinuous.of_apply₂ E1 #
∀ {α : Type u_2} {γ : Type u_4} {β : α → Type u_6} [inst : (a : α) → OmegaCompletePartialOrder (β a)]
[inst_1 : OmegaCompletePartialOrder γ] {f : γ → (x : α) → β x},
(∀ (a : α), OmegaCompletePartialOrder.ωScottContinuous fun x ↦ f x a) → OmegaCompletePartialOrder.ωScottContinuous f
theorem OmegaCompletePartialOrder.ωScottContinuous_iff_apply₂ E1 #
∀ {α : Type u_2} {γ : Type u_4} {β : α → Type u_6} [inst : (a : α) → OmegaCompletePartialOrder (β a)]
[inst_1 : OmegaCompletePartialOrder γ] {f : γ → (x : α) → β x},
OmegaCompletePartialOrder.ωScottContinuous f ↔ ∀ (a : α), OmegaCompletePartialOrder.ωScottContinuous fun x ↦ f x a
instance Prod.instOmegaCompletePartialOrder E0 #
{α : Type u_2} →
{β : Type u_3} → [OmegaCompletePartialOrder α] → [OmegaCompletePartialOrder β] → OmegaCompletePartialOrder (α × β)
theorem Prod.fst_ωSup E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(c : OmegaCompletePartialOrder.Chain (α × β)),
(OmegaCompletePartialOrder.ωSup c).1 = OmegaCompletePartialOrder.ωSup (c.map OrderHom.fst)
theorem Prod.snd_ωSup E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(c : OmegaCompletePartialOrder.Chain (α × β)),
(OmegaCompletePartialOrder.ωSup c).2 = OmegaCompletePartialOrder.ωSup (c.map OrderHom.snd)
theorem Prod.ωSup_zip E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(c₀ : OmegaCompletePartialOrder.Chain α) (c₁ : OmegaCompletePartialOrder.Chain β),
OmegaCompletePartialOrder.ωSup (c₀.zip c₁) = (OmegaCompletePartialOrder.ωSup c₀, OmegaCompletePartialOrder.ωSup c₁)
theorem Prod.ωScottContinuous.prodMk E1 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : OmegaCompletePartialOrder α]
[inst_1 : OmegaCompletePartialOrder β] [inst_2 : OmegaCompletePartialOrder γ] {f : α → β},
OmegaCompletePartialOrder.ωScottContinuous f →
∀ {g : α → γ},
OmegaCompletePartialOrder.ωScottContinuous g → OmegaCompletePartialOrder.ωScottContinuous fun x ↦ (f x, g x)
theorem Prod.ωScottContinuous_fst E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β],
OmegaCompletePartialOrder.ωScottContinuous Prod.fst
theorem Prod.ωScottContinuous_snd E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β],
OmegaCompletePartialOrder.ωScottContinuous Prod.snd
def OmegaCompletePartialOrder.OrderHom.ωSup E1 #
{α : Type u_2} →
{β : Type u_3} →
[inst : OmegaCompletePartialOrder α] →
[inst_1 : OmegaCompletePartialOrder β] → OmegaCompletePartialOrder.Chain (α →o β) → α →o β
The ωSup operator for monotone functions.
theorem OmegaCompletePartialOrder.OrderHom.ωSup_coe E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(c : OmegaCompletePartialOrder.Chain (α →o β)) (a : α),
(OmegaCompletePartialOrder.OrderHom.ωSup c) a = OmegaCompletePartialOrder.ωSup (c.map (OrderHom.apply a))
instance OmegaCompletePartialOrder.OrderHom.omegaCompletePartialOrder E0 #
{α : Type u_2} →
{β : Type u_3} →
[inst : OmegaCompletePartialOrder α] → [inst_1 : OmegaCompletePartialOrder β] → OmegaCompletePartialOrder (α →o β)
theorem OmegaCompletePartialOrder.OrderHom.omegaCompletePartialOrder_ωSup_coe E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(c : OmegaCompletePartialOrder.Chain (α →o β)) (a : α),
(OmegaCompletePartialOrder.ωSup c) a = OmegaCompletePartialOrder.ωSup (c.map (OrderHom.apply a))
structure OmegaCompletePartialOrder.ContinuousHom E1 #
(α : Type u_2) → (β : Type u_3) → [OmegaCompletePartialOrder α] → [OmegaCompletePartialOrder β] → Type (max u_2 u_3)
A monotone function on ω-continuous partial orders is said to be continuous
if for every chain c : chain α, f (⊔ i, c i) = ⊔ i, f (c i).
This is just the bundled version of OrderHom.continuous.
ctor OmegaCompletePartialOrder.ContinuousHom.mk E0 #
{α : Type u_2} →
{β : Type u_3} →
[inst : OmegaCompletePartialOrder α] →
[inst_1 : OmegaCompletePartialOrder β] →
(toOrderHom : α →o β) →
(∀ (c : OmegaCompletePartialOrder.Chain α),
toOrderHom.toFun (OmegaCompletePartialOrder.ωSup c) = OmegaCompletePartialOrder.ωSup (c.map toOrderHom)) →
α →𝒄 β
abbrev OmegaCompletePartialOrder.ContinuousHom.toOrderHom E1 #
{α : Type u_2} →
{β : Type u_3} → [inst : OmegaCompletePartialOrder α] → [inst_1 : OmegaCompletePartialOrder β] → (α →𝒄 β) → α →o β
theorem OmegaCompletePartialOrder.ContinuousHom.map_ωSup' E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(self : α →𝒄 β) (c : OmegaCompletePartialOrder.Chain α),
self.toFun (OmegaCompletePartialOrder.ωSup c) = OmegaCompletePartialOrder.ωSup (c.map self.toOrderHom)
The underlying function of a ContinuousHom is continuous, i.e. it preserves ωSup
def OmegaCompletePartialOrder.«term_→𝒄_» E1 #
Lean.TrailingParserDescr
A monotone function on ω-continuous partial orders is said to be continuous
if for every chain c : chain α, f (⊔ i, c i) = ⊔ i, f (c i).
This is just the bundled version of OrderHom.continuous.
instance OmegaCompletePartialOrder.instFunLikeContinuousHom E0 #
{α : Type u_2} →
{β : Type u_3} → [inst : OmegaCompletePartialOrder α] → [inst_1 : OmegaCompletePartialOrder β] → FunLike (α →𝒄 β) α β
instance OmegaCompletePartialOrder.instOrderHomClassContinuousHom E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β],
OrderHomClass (α →𝒄 β) α β
instance OmegaCompletePartialOrder.instPartialOrderContinuousHom E0 #
{α : Type u_2} →
{β : Type u_3} → [inst : OmegaCompletePartialOrder α] → [inst_1 : OmegaCompletePartialOrder β] → PartialOrder (α →𝒄 β)
theorem OmegaCompletePartialOrder.ContinuousHom.ωScottContinuous E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(f : α →𝒄 β), OmegaCompletePartialOrder.ωScottContinuous ⇑f
theorem OmegaCompletePartialOrder.ContinuousHom.toOrderHom_eq_coe E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(f : α →𝒄 β), f.toOrderHom = ↑f
theorem OmegaCompletePartialOrder.ContinuousHom.coe_mk E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β] (f : α →o β)
(hf :
∀ (c : OmegaCompletePartialOrder.Chain α),
f.toFun (OmegaCompletePartialOrder.ωSup c) = OmegaCompletePartialOrder.ωSup (c.map f)),
⇑{ toOrderHom := f, map_ωSup' := hf } = ⇑f
theorem OmegaCompletePartialOrder.ContinuousHom.coe_toOrderHom E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(f : α →𝒄 β), ⇑f.toOrderHom = ⇑f
def OmegaCompletePartialOrder.ContinuousHom.Simps.apply E1 #
{α : Type u_2} →
{β : Type u_3} → [inst : OmegaCompletePartialOrder α] → [inst_1 : OmegaCompletePartialOrder β] → (α →𝒄 β) → α → β
See Note [custom simps projection]. We specify this explicitly because we don't have a DFunLike instance.
def OmegaCompletePartialOrder.ContinuousHom.ofFun E1 #
{α : Type u_2} →
{β : Type u_3} →
[inst : OmegaCompletePartialOrder α] →
[inst_1 : OmegaCompletePartialOrder β] →
(f : α → β) →
autoParam (OmegaCompletePartialOrder.ωScottContinuous f)
OmegaCompletePartialOrder.ContinuousHom.ofFun._auto_1 →
α →𝒄 β
Constructs a ContinuousHom from a function f and a proof of ωScottContinuous f.
By default, the proof is inferred by fun_prop, which makes it ideal for simple cases.
theorem OmegaCompletePartialOrder.ContinuousHom.ofFun_apply E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β] (f : α → β)
(hf : autoParam (OmegaCompletePartialOrder.ωScottContinuous f) OmegaCompletePartialOrder.ContinuousHom.ofFun._auto_1)
(a : α), (OmegaCompletePartialOrder.ContinuousHom.ofFun f hf) a = f a
theorem OmegaCompletePartialOrder.ContinuousHom.congr_fun E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
{f g : α →𝒄 β}, f = g → ∀ (x : α), f x = g x
theorem OmegaCompletePartialOrder.ContinuousHom.congr_arg E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β] (f : α →𝒄 β)
{x y : α}, x = y → f x = f y
theorem OmegaCompletePartialOrder.ContinuousHom.monotone E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(f : α →𝒄 β), Monotone ⇑f
theorem OmegaCompletePartialOrder.ContinuousHom.apply_mono E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
{f g : α →𝒄 β} {x y : α}, f ≤ g → x ≤ y → f x ≤ g y
theorem OmegaCompletePartialOrder.ContinuousHom.ωSup_bind E1 #
∀ {α : Type u_2} [inst : OmegaCompletePartialOrder α] {β γ : Type v} (c : OmegaCompletePartialOrder.Chain α)
(f : α →o Part β) (g : α →o β → Part γ),
OmegaCompletePartialOrder.ωSup (c.map (f.partBind g)) =
OmegaCompletePartialOrder.ωSup (c.map f) >>= OmegaCompletePartialOrder.ωSup (c.map g)
theorem OmegaCompletePartialOrder.ContinuousHom.ωScottContinuous.bind E3 #
∀ {α : Type u_2} [inst : OmegaCompletePartialOrder α] {β γ : Type u_6} {f : α → Part β} {g : α → β → Part γ},
OmegaCompletePartialOrder.ωScottContinuous f →
OmegaCompletePartialOrder.ωScottContinuous g → OmegaCompletePartialOrder.ωScottContinuous fun x ↦ f x >>= g x
theorem OmegaCompletePartialOrder.ContinuousHom.ωScottContinuous.map E1 #
∀ {α : Type u_2} [inst : OmegaCompletePartialOrder α] {β γ : Type u_6} {f : β → γ} {g : α → Part β},
OmegaCompletePartialOrder.ωScottContinuous g → OmegaCompletePartialOrder.ωScottContinuous fun x ↦ f <$> g x
theorem OmegaCompletePartialOrder.ContinuousHom.ωScottContinuous.seq E1 #
∀ {α : Type u_2} [inst : OmegaCompletePartialOrder α] {β γ : Type u_6} {f : α → Part (β → γ)} {g : α → Part β},
OmegaCompletePartialOrder.ωScottContinuous f →
OmegaCompletePartialOrder.ωScottContinuous g → OmegaCompletePartialOrder.ωScottContinuous fun x ↦ f x <*> g x
theorem OmegaCompletePartialOrder.ContinuousHom.continuous E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β] (F : α →𝒄 β)
(C : OmegaCompletePartialOrder.Chain α),
F (OmegaCompletePartialOrder.ωSup C) = OmegaCompletePartialOrder.ωSup (C.map ↑F)
def OmegaCompletePartialOrder.ContinuousHom.copy E1 #
{α : Type u_2} →
{β : Type u_3} →
[inst : OmegaCompletePartialOrder α] →
[inst_1 : OmegaCompletePartialOrder β] → (f : α → β) → (g : α →𝒄 β) → f = ⇑g → α →𝒄 β
Construct a continuous function from a bare function, a continuous function, and a proof that they are equal.
theorem OmegaCompletePartialOrder.ContinuousHom.copy_apply E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β] (f : α → β)
(g : α →𝒄 β) (h : f = ⇑g) (a : α), (OmegaCompletePartialOrder.ContinuousHom.copy f g h) a = f a
def OmegaCompletePartialOrder.ContinuousHom.id E1 #
{α : Type u_2} → [inst : OmegaCompletePartialOrder α] → α →𝒄 α
The identity as a continuous function.
theorem OmegaCompletePartialOrder.ContinuousHom.id_apply E0 #
∀ {α : Type u_2} [inst : OmegaCompletePartialOrder α] (a : α), OmegaCompletePartialOrder.ContinuousHom.id a = a
def OmegaCompletePartialOrder.ContinuousHom.comp E1 #
{α : Type u_2} →
{β : Type u_3} →
{γ : Type u_4} →
[inst : OmegaCompletePartialOrder α] →
[inst_1 : OmegaCompletePartialOrder β] → [inst_2 : OmegaCompletePartialOrder γ] → (β →𝒄 γ) → (α →𝒄 β) → α →𝒄 γ
The composition of continuous functions.
theorem OmegaCompletePartialOrder.ContinuousHom.comp_apply E0 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : OmegaCompletePartialOrder α]
[inst_1 : OmegaCompletePartialOrder β] [inst_2 : OmegaCompletePartialOrder γ] (f : β →𝒄 γ) (g : α →𝒄 β) (a : α),
(f.comp g) a = f (g a)
theorem OmegaCompletePartialOrder.ContinuousHom.ext E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(f g : α →𝒄 β), (∀ (x : α), f x = g x) → f = g
theorem OmegaCompletePartialOrder.ContinuousHom.ext_iff E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
{f g : α →𝒄 β}, f = g ↔ ∀ (x : α), f x = g x
theorem OmegaCompletePartialOrder.ContinuousHom.coe_inj E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(f g : α →𝒄 β), ⇑f = ⇑g → f = g
theorem OmegaCompletePartialOrder.ContinuousHom.comp_id E0 #
∀ {β : Type u_3} {γ : Type u_4} [inst : OmegaCompletePartialOrder β] [inst_1 : OmegaCompletePartialOrder γ]
(f : β →𝒄 γ), f.comp OmegaCompletePartialOrder.ContinuousHom.id = f
theorem OmegaCompletePartialOrder.ContinuousHom.id_comp E0 #
∀ {β : Type u_3} {γ : Type u_4} [inst : OmegaCompletePartialOrder β] [inst_1 : OmegaCompletePartialOrder γ]
(f : β →𝒄 γ), OmegaCompletePartialOrder.ContinuousHom.id.comp f = f
theorem OmegaCompletePartialOrder.ContinuousHom.comp_assoc E0 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} {δ : Type u_5} [inst : OmegaCompletePartialOrder α]
[inst_1 : OmegaCompletePartialOrder β] [inst_2 : OmegaCompletePartialOrder γ] [inst_3 : OmegaCompletePartialOrder δ]
(f : γ →𝒄 δ) (g : β →𝒄 γ) (h : α →𝒄 β), f.comp (g.comp h) = (f.comp g).comp h
theorem OmegaCompletePartialOrder.ContinuousHom.coe_apply E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β] (a : α)
(f : α →𝒄 β), ↑f a = f a
def OmegaCompletePartialOrder.ContinuousHom.const E1 #
{α : Type u_2} →
{β : Type u_3} → [inst : OmegaCompletePartialOrder α] → [inst_1 : OmegaCompletePartialOrder β] → β → α →𝒄 β
Function.const is a continuous function.
theorem OmegaCompletePartialOrder.ContinuousHom.const_apply E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β] (x : β)
(a : α), (OmegaCompletePartialOrder.ContinuousHom.const x) a = x
instance OmegaCompletePartialOrder.ContinuousHom.instInhabited E0 #
{α : Type u_2} →
{β : Type u_3} →
[inst : OmegaCompletePartialOrder α] → [inst_1 : OmegaCompletePartialOrder β] → [Inhabited β] → Inhabited (α →𝒄 β)
def OmegaCompletePartialOrder.ContinuousHom.toMono E1 #
{α : Type u_2} →
{β : Type u_3} → [inst : OmegaCompletePartialOrder α] → [inst_1 : OmegaCompletePartialOrder β] → (α →𝒄 β) →o α →o β
The map from continuous functions to monotone functions is itself a monotone function.
theorem OmegaCompletePartialOrder.ContinuousHom.toMono_coe E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(f : α →𝒄 β), OmegaCompletePartialOrder.ContinuousHom.toMono f = ↑f
theorem OmegaCompletePartialOrder.ContinuousHom.forall_forall_merge E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(c₀ : OmegaCompletePartialOrder.Chain (α →𝒄 β)) (c₁ : OmegaCompletePartialOrder.Chain α) (z : β),
(∀ (i j : ℕ), (c₀ i) (c₁ j) ≤ z) ↔ ∀ (i : ℕ), (c₀ i) (c₁ i) ≤ z
When proving that a chain of applications is below a bound z, it suffices to consider the
functions and values being selected from the same index in the chains.
This lemma is more specific than necessary, i.e. c₀ only needs to be a
chain of monotone functions, but it is only used with continuous functions.
theorem OmegaCompletePartialOrder.ContinuousHom.forall_forall_merge' E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(c₀ : OmegaCompletePartialOrder.Chain (α →𝒄 β)) (c₁ : OmegaCompletePartialOrder.Chain α) (z : β),
(∀ (j i : ℕ), (c₀ i) (c₁ j) ≤ z) ↔ ∀ (i : ℕ), (c₀ i) (c₁ i) ≤ z
def OmegaCompletePartialOrder.ContinuousHom.ωSup E1 #
{α : Type u_2} →
{β : Type u_3} →
[inst : OmegaCompletePartialOrder α] →
[inst_1 : OmegaCompletePartialOrder β] → OmegaCompletePartialOrder.Chain (α →𝒄 β) → α →𝒄 β
The ωSup operator for continuous functions, which takes the pointwise countable supremum
of the functions in the ω-chain.
theorem OmegaCompletePartialOrder.ContinuousHom.ωSup_apply E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(c : OmegaCompletePartialOrder.Chain (α →𝒄 β)) (a : α),
(OmegaCompletePartialOrder.ContinuousHom.ωSup c) a =
OmegaCompletePartialOrder.ωSup ((c.map OmegaCompletePartialOrder.ContinuousHom.toMono).map (OrderHom.apply a))
theorem OmegaCompletePartialOrder.ContinuousHom.ωSup_def E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(c : OmegaCompletePartialOrder.Chain (α →𝒄 β)),
OmegaCompletePartialOrder.ωSup c = OmegaCompletePartialOrder.ContinuousHom.ωSup c
instance OmegaCompletePartialOrder.ContinuousHom.inst E0 #
{α : Type u_2} →
{β : Type u_3} →
[inst : OmegaCompletePartialOrder α] → [inst_1 : OmegaCompletePartialOrder β] → OmegaCompletePartialOrder (α →𝒄 β)
theorem OmegaCompletePartialOrder.ContinuousHom.ωScottContinuous_apply E0 #
∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : OmegaCompletePartialOrder α]
[inst_1 : OmegaCompletePartialOrder β] [inst_2 : OmegaCompletePartialOrder γ] {f : α → β →𝒄 γ},
OmegaCompletePartialOrder.ωScottContinuous f →
∀ {g : α → β},
OmegaCompletePartialOrder.ωScottContinuous g → OmegaCompletePartialOrder.ωScottContinuous fun x ↦ (f x) (g x)
def OmegaCompletePartialOrder.ContinuousHom.Prod.apply E1 #
{α : Type u_2} →
{β : Type u_3} → [inst : OmegaCompletePartialOrder α] → [inst_1 : OmegaCompletePartialOrder β] → (α →𝒄 β) × α →𝒄 β
The application of continuous functions as a continuous function.
theorem OmegaCompletePartialOrder.ContinuousHom.Prod.apply_apply E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(f : (α →𝒄 β) × α), OmegaCompletePartialOrder.ContinuousHom.Prod.apply f = f.1 f.2
theorem OmegaCompletePartialOrder.ContinuousHom.ωSup_apply_ωSup E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : OmegaCompletePartialOrder α] [inst_1 : OmegaCompletePartialOrder β]
(c₀ : OmegaCompletePartialOrder.Chain (α →𝒄 β)) (c₁ : OmegaCompletePartialOrder.Chain α),
(OmegaCompletePartialOrder.ωSup c₀) (OmegaCompletePartialOrder.ωSup c₁) =
OmegaCompletePartialOrder.ContinuousHom.Prod.apply (OmegaCompletePartialOrder.ωSup (c₀.zip c₁))
def OmegaCompletePartialOrder.ContinuousHom.flip E1 #
{β : Type u_3} →
{γ : Type u_4} →
[inst : OmegaCompletePartialOrder β] →
[inst_1 : OmegaCompletePartialOrder γ] → {α : Type u_6} → (α → β →𝒄 γ) → β →𝒄 α → γ
A family of continuous functions yields a continuous family of functions.
theorem OmegaCompletePartialOrder.ContinuousHom.flip_apply E0 #
∀ {β : Type u_3} {γ : Type u_4} [inst : OmegaCompletePartialOrder β] [inst_1 : OmegaCompletePartialOrder γ]
{α : Type u_6} (f : α → β →𝒄 γ) (x : β) (y : α), (OmegaCompletePartialOrder.ContinuousHom.flip f) x y = (f y) x
def OmegaCompletePartialOrder.ContinuousHom.bind E3 #
{α : Type u_2} → [inst : OmegaCompletePartialOrder α] → {β γ : Type v} → (α →𝒄 Part β) → (α →𝒄 β → Part γ) → α →𝒄 Part γ
Part.bind as a continuous function.
theorem OmegaCompletePartialOrder.ContinuousHom.bind_apply E0 #
∀ {α : Type u_2} [inst : OmegaCompletePartialOrder α] {β γ : Type v} (f : α →𝒄 Part β) (g : α →𝒄 β → Part γ) (x : α),
(f.bind g) x = (f x).bind (g x)
def OmegaCompletePartialOrder.ContinuousHom.map E1 #
{α : Type u_2} → [inst : OmegaCompletePartialOrder α] → {β γ : Type v} → (β → γ) → (α →𝒄 Part β) → α →𝒄 Part γ
Part.map as a continuous function.
theorem OmegaCompletePartialOrder.ContinuousHom.map_apply E0 #
∀ {α : Type u_2} [inst : OmegaCompletePartialOrder α] {β γ : Type v} (f : β → γ) (g : α →𝒄 Part β) (x : α),
(OmegaCompletePartialOrder.ContinuousHom.map f g) x = Part.map f (g x)
def OmegaCompletePartialOrder.ContinuousHom.seq E1 #
{α : Type u_2} →
[inst : OmegaCompletePartialOrder α] → {β γ : Type v} → (α →𝒄 Part (β → γ)) → (α →𝒄 Part β) → α →𝒄 Part γ
Part.seq as a continuous function.
theorem OmegaCompletePartialOrder.ContinuousHom.seq_apply E0 #
∀ {α : Type u_2} [inst : OmegaCompletePartialOrder α] {β γ : Type v} (f : α →𝒄 Part (β → γ)) (g : α →𝒄 Part β) (x : α),
(f.seq g) x = f x <*> g x
def OmegaCompletePartialOrder.fixedPoints.iterateChain E1 #
{α : Type u_2} →
[inst : OmegaCompletePartialOrder α] → (f : α →o α) → (x : α) → x ≤ f x → OmegaCompletePartialOrder.Chain α
Iteration of a function on an initial element interpreted as a chain.
theorem OmegaCompletePartialOrder.fixedPoints.ωSup_iterate_mem_fixedPoint E1 #
∀ {α : Type u_2} [inst : OmegaCompletePartialOrder α] (f : α →𝒄 α) (x : α) (h : x ≤ f x),
OmegaCompletePartialOrder.ωSup (OmegaCompletePartialOrder.fixedPoints.iterateChain (↑f) x h) ∈ Function.fixedPoints ⇑f
The supremum of iterating a function on x arbitrary often is a fixed point
theorem OmegaCompletePartialOrder.fixedPoints.ωSup_iterate_le_prefixedPoint E1 #
∀ {α : Type u_2} [inst : OmegaCompletePartialOrder α] (f : α →𝒄 α) (x : α) (h : x ≤ f x) {a : α},
f a ≤ a → x ≤ a → OmegaCompletePartialOrder.ωSup (OmegaCompletePartialOrder.fixedPoints.iterateChain (↑f) x h) ≤ a
The supremum of iterating a function on x arbitrary often is smaller than any prefixed point.
A prefixed point is a value a with f a ≤ a.
theorem OmegaCompletePartialOrder.fixedPoints.ωSup_iterate_le_fixedPoint E1 #
∀ {α : Type u_2} [inst : OmegaCompletePartialOrder α] (f : α →𝒄 α) (x : α) (h : x ≤ f x) {a : α},
a ∈ Function.fixedPoints ⇑f →
x ≤ a → OmegaCompletePartialOrder.ωSup (OmegaCompletePartialOrder.fixedPoints.iterateChain (↑f) x h) ≤ a
The supremum of iterating a function on x arbitrary often is smaller than any fixed point.
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Prod.ωSup_fst | Prod.fst_ωSup | 2026-10-26 |
Prod.ωSup_snd | Prod.snd_ωSup | 2026-10-26 |