A Σ-labelled graph is hV, R, λiwhere Vis the set of vertices, Rdefines
the edges and λ:V→Σ is a labelling function. A Σ-labelled partial
order is a Σ-labelled graph where Ris a partial order relation.
Definition 1 Atrace or a dependence graph over a trace alphabet (Σ, D)
is a Σ-labelled partial order hE, R, λisatisfying the following conditions:
(T1) ∀e∈E. {e0:R(e0, e)}is a finite set.
(T2) ∀e, e0∈E. (λ(e), λ(e0)) ∈D⇒R(e, e0)∨R(e0, e).
(T2) ∀e, e0∈E. R(e, e0)⇒(λ(e), λ(e0)) ∈D∨
∃e00. R(e, e00)∧R(e00, e0)∧e6=e00 6=e0.
The nodes of a dependence graph are called events. An a-event is an
event e∈Ewhich is labelled by a, i.e., λ(e) = a. We say that eis before
e0iff R(e, e0) holds. In this case we also say that e0is after e.
The first condition of the definition of dependence graphs says that
the past of each event (the set of the events before the event) is finite.
The second one postulates that events labelled by dependent letters are
ordered. The third, says that the order is induced by the order between
dependent letters.
Below we describe two variations on the representation of depen-
dence graphs. These variations will be important when defining logics
for traces.
Definition 2 AHasse diagram of a trace G=hE, R, λiis a labelled
graph hE, RH, λiwhere RHis the smallest relation needed to determine
R, i.e., R∗
H=Rand if RH(e, e0) then there is no e00 different from eand
e0such that RH(e, e00) and RH(e00, e0) hold.
Definition 3 Aprocess diagram of a trace G=hE, R, λiis a labelled
graph hE, RP, λiwhere RP(e, e0) holds if eand e0are labelled by de-
pendent letters and e0is the first λ(e0)-event after e. More formally the
condition is: (λ(e), λ(e0)) ∈D,R(e, e0) and ∀e00 6=e. R(e, e00)∧λ(e00) =
λ(e0)⇒R(e0, e00).
Proviso: In the whole paper we fix a trace alphabet (Σ, D) and a linear
order <Σon Σ. We also assume that we have a special letter ⊥ ∈ Σ which
is dependent on every other letter of the alphabet, i.e., {⊥} × Σ⊆D.
Finally, we assume that in every trace there is the least event (with
respect to the partial order R∗) and it is labelled by ⊥. We denote this
least event also by ⊥.
4