Relations: Definitions #
References #
- Term Rewriting and All That
- Simple Laws about Nonprominent Properties of Binary Relations
- [Applied Combinatorics][KellerTrotter2017]
Operations on relations #
Generalisation of Join to two relations.
Instances For
The join of the reflexive transitive closure. This is not named in Mathlib, but see
#loogle Relation.Join (Relation.ReflTransGen ?r)
Instances For
The relation r 'up to' the relation s.
Instances For
Confluence and commutation properties #
A relation has the diamond property when all reductions with a common origin are joinable
Instances For
A relation is confluent when its reflexive transitive closure has the diamond property.
Instances For
A relation is semi-confluent when single and multiple steps with common origin are multi-joinable.
Instances For
A relation has the Church Rosser property when equivalence implies multi-joinability.
Instances For
A relation is locally confluent when all reductions with a common origin are multi-joinable
Instances For
Generalization of LocallyConfluent to two relations.
Instances For
A relation is strongly confluent when single steps are reflexive- and multi-joinable.
Instances For
Generalization of StronglyConfluent to two relations.
Instances For
Normalization properties #
An element is reducible with respect to a relation if there is a value it is related to.
Instances For
An element is normal if it is not reducible.
Instances For
An element is normalizable if it is related to a normal element.
Instances For
A relation is normalizing when every element is normalizable.
Instances For
A relation is terminating when the inverse of its transitive closure is well-founded. Note that this is also called Noetherian or strongly normalizing in the literature.
Instances For
A relation is acyclic if its transitive closure is irreflexive, equivalently if it admits no nonempty cycle.
Instances For
A relation is convergent when it is both confluent and terminating.
Instances For
Modal properties #
A relation r is (right) Euclidean if r a b and r a c guarantee r b c.
- rightEuclidean {a b c : α} : r a b → r a c → r b c
Instances
A relation r is (left) Euclidean if r a c and r b c guarantee r a b.
- leftEuclidean {a b c : α} : r a c → r b c → r a b
Instances
A relation r is serial if every element is Reducible, i.e. Relator.LeftTotal.
- serial : Relator.LeftTotal r
Instances
Relations and sets in the underlying types #
Interval order #
Fishburn's theorem (see sections 6.6 and 6.7 of [KellerTrotter2017]) shows that
the definition below is a sufficient and necessary condition for a relation r to have
a representation by closed intervals on the real line such that r i1 i2 iff the right
endpoint of i1 is less than the left endpoint of i2.
Instances For
Properties of relations on restrictions of their (co)domain #
LeftQuasiRefl r is true when a relation r is reflexive on its domain.
Instances For
RightQuasiRefl r is true when a relation r is reflexive on its codomain.