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.
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
- (_ : IsDirected α r) = (_ : IsDirected α r)
Equations
- (_ : IsDirected αᵒᵈ fun (x x_1 : αᵒᵈ) => x ≥ x_1) = inst
Equations
- (_ : IsDirected αᵒᵈ fun (x x_1 : αᵒᵈ) => x ≤ x_1) = inst
A monotone function on an upwards-directed type is directed.
An antitone function on a downwards-directed type is directed.
Equations
- (_ : IsDirected α fun (x x_1 : α) => x ≤ x_1) = (_ : IsDirected α fun (x x_1 : α) => x ≤ x_1)
Equations
- (_ : IsDirected α fun (x x_1 : α) => x ≥ x_1) = (_ : IsDirected α fun (x x_1 : α) => x ≥ x_1)
Equations
- (_ : IsDirected α fun (x x_1 : α) => x ≤ x_1) = (_ : IsDirected α fun (x x_1 : α) => x ≤ x_1)
Equations
- (_ : IsDirected α fun (x x_1 : α) => x ≥ x_1) = (_ : IsDirected α fun (x x_1 : α) => x ≥ x_1)