Prefix order
In mathematics, especially order theory, a prefix ordered set generalizes the intuitive concept of a tree by introducing the possibility of continuous progress and continuous branching. Natural prefix orders often occur when considering dynamical systems as a set of functions from time to some phase space. In this case, the elements of the set are usually referred to as executions of the system.
The name prefix order stems from the prefix order on words, which is a special kind of substring relation and, because of its discrete character, a tree.
Formal definition
A prefix order is a binary relation "≤" over a set P which is antisymmetric, transitive, reflexive, and downward total, i.e., for all a, b, and c in P, we have that:- a ≤ a ;
- if a ≤ b and b ≤ a then a = b ;
- if a ≤ b and b ≤ c then a ≤ c ;
- if a ≤ c and b ≤ c then a ≤ b or b ≤ a.
Functions between prefix orders
Every history preserving function and every future preserving function is also order preserving, but not vice versa.
In the theory of dynamical systems, history preserving maps capture the intuition that the behavior in one system is a refinement of the behavior in another. Furthermore, functions that are history and future preserving surjections capture the notion of bisimulation between systems, and thus the intuition that a given refinement is correct with respect to a specification.
The range of a history preserving function is always a prefix closed subset, where a subset S ⊆ P is prefix closed if for all s,t ∈ P with t∈S and s≤t we find s∈S.