Event structures were introduced in order to abstract away from the precise ‘places’ and times at which events occur in distributed systems. The structure focuses on the events and the causal ordering between them.
An event structure, $(E,\le, \sharp)$, consists of a poset $(E,\le)$ of events, where the partial order relation expresses causal dependency, together with a symmetric irreflexive relation $\sharp$, called incompatibility . This data is to satisfy
and
Let $\mathbb{E} = (E,\le, \sharp)$ be an event structure. Define its set of configurations, $C(\mathbb{E}) = C(E,\le, \sharp)$, to consist of those subsets $X \subseteq E$, which are
and
A morphism $f : \mathbb{E}\to \mathbb{E}'$ of event structures consists of a partial function $f : E \to E'$ such that
and
This second condition says that if both $f(e_0)$ and $f(e_1)$ are defined and either $f(e_0)\sharp' f(e_1)$ or $f(e_0)=f(e_1)$, then either $e_0\sharp e_1$, or $e_0 = e_1$.
Winskel and Neilsen explain the definition as follows:
A morphism $f : \mathbb{E}\to \mathbb{E}'$ between event structures expresses how behaviour in $\mathbb{E}$ determines behaviour in $\mathbb{E}'$. The partial function, $f$, expresses how the occurrence of an event in $\mathbb{E}$ implies the simultaneous occurrence of an event in $\mathbb{E}'$; the fact that $f(e) = e'$ can be understood as expressing that the event $e$ is a ‘’component’‘ of the event $e'$ and, in this sense, that the occurrence of $e$ implies the simultaneous occurrence of $e'$. If two distinct events in $\mathbb{E}$ have the same image in $\mathbb{E}'$ under $f$ then they cannot belong to the same configuration.
(There is more discussion of the notion of morphism of event structures in the notes referred to below.)
With this definition of morphism, we get the category, $\mathbf{ES}$ of event structures.
In some sources, rather than stress the inconsistency relation, the complementary consistency relation. This leads to the definition of a family, $Con$, of finite subsets of $E$, which satisfy
$\{e\}\in E$ for all $e\in E$;
$Y\subseteq X\in Con$ implies $Y\in Con$,
and
G. Winskel and M. Nielsen, Models for concurrency. vol. 3, Handbook of Logic in Computer Science, pages 100 - 200, Oxford Univ. Press, 1994. (see also online technical report).
G. Winskel, Events, causality, and symmetry, (an earlier version appeared in the BCS conference ‘Visions in Computer Science.’ September 2008. The final version appears in a special issue of The Computer Journal 2009; doi: 10.1093/comjnl/bxp052; see also an online version).
G. Winskel and S. Staton, On the expressivity of symmetry in event structures, LICS 2010