Directed indexed families and sets #
This file defines directed indexed families and directed sets. An indexed family/set is directed iff each pair of elements has a shared upper bound.
Main declarations #
Directed r f
: Predicate stating that the indexed familyf
isr
-directed.DirectedOn r s
: Predicate stating that the sets
isr
-directed.IsDirected α r
: Prop-valued mixin stating thatα
isr
-directed. Follows the style of the unbundled relation classes such asIsTotal
.ScottContinuous
: Predicate stating that a function between preorders preservesIsLUB
on directed sets.
TODO #
Define connected orders (the transitive symmetric closure of ≤
is everything) and show that
(co)directed orders are connected.
References #
- [Gierz et al, A Compendium of Continuous Lattices][GierzEtAl1980]
A family of elements of α is directed (with respect to a relation ≼
on α)
if there is a member of the family ≼
-above any pair in the family.
Instances For
A subset of α is directed if there is an element of the set ≼
-above any
pair of elements in the set.
Equations
- DirectedOn r s = ∀ x ∈ s, ∀ y ∈ s, ∃ z ∈ s, r x z ∧ r y z
Instances For
Alias of the forward direction of directedOn_iff_directed
.
Alias of the forward direction of directedOn_range
.
A set stable by supremum is ≤
-directed.
A set stable by infimum is ≥
-directed.
IsDirected α r
states that for any elements a
, b
there exists an element c
such that
r a c
and r b c
.
- directed : ∀ (a b : α), ∃ (c : α), r a c ∧ r b c
For every pair of elements
a
andb
there is ac
such thatr a c
andr b c
Instances
Equations
- ⋯ = ⋯
Equations
- ⋯ = inst
Equations
- ⋯ = inst
A monotone function on an upwards-directed type is directed.
An antitone function on a downwards-directed type is directed.
If f
is monotone and antitone on a directed order, then f
is constant.
If f
is monotone and antitone on a directed set s
, then f
is constant on s
.
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯