Scott topology #
This file introduces the Scott topology on a preorder.
Main definitions #
DirSupInacc
- a setu
is said to be inaccessible by directed joins if, when the least upper bound of a directed setd
lies inu
thend
has non-empty intersection withu
.DirSupClosed
- a sets
is said to be closed under directed joins if, whenever a directed setd
has a least upper bounda
and is a subset ofs
thena
also lies ins
.Topology.scott
- the Scott topology is defined as the join of the topology of upper sets and the Scott-Hausdorff topology (the topological space where a setu
is open if, when the least upper bound of a directed setd
lies inu
then there is a tail ofd
which is a subset ofu
).
Main statements #
Topology.IsScott.isUpperSet_of_isOpen
: Scott open sets are upper.Topology.IsScott.isLowerSet_of_isClosed
: Scott closed sets are lower.Topology.IsScott.monotone_of_continuous
: Functions continuous wrt the Scott topology are monotone.Topology.IsScott.scottContinuous_iff_continuous
- a function is Scott continuous (preserves least upper bounds of directed sets) if and only if it is continuous wrt the Scott topology.Topology.IsScott.instT0Space
- the Scott topology on a partial order is T₀.
Implementation notes #
A type synonym WithScott
is introduced and for a preorder α
, WithScott α
is made an instance
of TopologicalSpace
by the scott
topology.
We define a mixin class IsScott
for the class of types which are both a preorder and a
topology and where the topology is the scott
topology. It is shown that WithScott α
is an
instance of IsScott
.
A class Scott
is defined in Topology/OmegaCompletePartialOrder
and made an instance of a
topological space by defining the open sets to be those which have characteristic functions which
are monotone and preserve limits of countable chains (OmegaCompletePartialOrder.Continuous'
).
A Scott continuous function between OmegaCompletePartialOrder
s is always
OmegaCompletePartialOrder.Continuous'
(OmegaCompletePartialOrder.ScottContinuous.continuous'
).
The converse is true in some special cases, but not in general
(Domain Theory, 2.2.4).
References #
- Abramsky and Jung, Domain Theory
- Gierz et al, A Compendium of Continuous Lattices
- Karner, Continuous monoids and semirings
Tags #
Scott topology, preorder
Prerequisite order properties #
A set s
is said to be inaccessible by directed joins on D
if, when the least upper bound of
a directed set d
in D
lies in s
then d
has non-empty intersection with s
.
Equations
- DirSupInaccOn D s = ∀ ⦃d : Set α⦄, d ∈ D → d.Nonempty → DirectedOn (fun (x1 x2 : α) => x1 ≤ x2) d → ∀ ⦃a : α⦄, IsLUB d a → a ∈ s → (d ∩ s).Nonempty
Instances For
A set s
is said to be inaccessible by directed joins if, when the least upper bound of a
directed set d
lies in s
then d
has non-empty intersection with s
.
Equations
- DirSupInacc s = ∀ ⦃d : Set α⦄, d.Nonempty → DirectedOn (fun (x1 x2 : α) => x1 ≤ x2) d → ∀ ⦃a : α⦄, IsLUB d a → a ∈ s → (d ∩ s).Nonempty
Instances For
A set s
is said to be closed under directed joins if, whenever a directed set d
has a least
upper bound a
and is a subset of s
then a
also lies in s
.
Equations
- DirSupClosed s = ∀ ⦃d : Set α⦄, d.Nonempty → DirectedOn (fun (x1 x2 : α) => x1 ≤ x2) d → ∀ ⦃a : α⦄, IsLUB d a → d ⊆ s → a ∈ s
Instances For
Alias of the reverse direction of dirSupInacc_compl
.
Alias of the forward direction of dirSupInacc_compl
.
Alias of the reverse direction of dirSupClosed_compl
.
Alias of the forward direction of dirSupClosed_compl
.
Scott-Hausdorff topology #
The Scott-Hausdorff topology.
A set u
is open in the Scott-Hausdorff topology iff when the least upper bound of a directed set
d
lies in u
then there is a tail of d
which is a subset of u
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Predicate for an ordered topological space to be equipped with its Scott-Hausdorff topology.
A set u
is open in the Scott-Hausdorff topology iff when the least upper bound of a directed set
d
lies in u
then there is a tail of d
which is a subset of u
.
- topology_eq_scottHausdorff : inst✝ = Topology.scottHausdorff α D
Instances
Scott topology #
The Scott topology.
It is defined as the join of the topology of upper sets and the Scott-Hausdorff topology.
Equations
- Topology.scott α D = Topology.upperSet α ⊔ Topology.scottHausdorff α D
Instances For
Predicate for an ordered topological space to be equipped with its Scott topology.
The Scott topology is defined as the join of the topology of upper sets and the Scott Hausdorff topology.
- topology_eq_scott : inst✝ = Topology.scott α D
Instances
The closure of a singleton {a}
in the Scott topology is the right-closed left-infinite interval
(-∞,a]
.
The Scott topology on a partial order is T₀.
Type synonym for a preorder equipped with the Scott topology
Equations
- Topology.WithScott α = α
Instances For
toScott
is the identity function to the WithScott
of a type.
Equations
- Topology.WithScott.toScott = Equiv.refl α
Instances For
ofScott
is the identity function from the WithScott
of a type.
Equations
- Topology.WithScott.ofScott = Equiv.refl (Topology.WithScott α)
Instances For
A recursor for WithScott
. Use as induction x
.
Equations
- Topology.WithScott.rec h a = h (Topology.WithScott.ofScott a)
Instances For
Equations
- Topology.WithScott.instInhabited = inst✝
Equations
- Topology.WithScott.instPreorder = inst✝
Equations
- Topology.WithScott.instTopologicalSpace = Topology.scott α Set.univ
If α
is equipped with the Scott topology, then it is homeomorphic to WithScott α
.
Equations
- Topology.IsScott.withScottHomeomorph = Topology.WithScott.ofScott.toHomeomorphOfIsInducing ⋯