You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: notes/influence_stories.tex
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -323,6 +323,7 @@ \subsection{From transition systems to posets}
323
323
\end{example}
324
324
325
325
\subsection{From posets to traces}
326
+
\label{sec:refinement}
326
327
327
328
\begin{definition}[Refinement of an event in a trace]
328
329
Let $E$ be a set of events and let $\theta$ be a trace. A refinement function is a bijection between events and transitions such that
@@ -385,6 +386,7 @@ \subsection{From posets to traces}
385
386
where $\mathsf{decorate}$ returns a decoration of $s$ as in~\autoref{def:decorate_poset}, $\mathsf{decoration\_of\_trace}$ is an abstraction of a trace to its decorated poset, defined in the~\autoref{prop:constraints_poset}, $\mathsf{valid}$ is from~\autoref{def:constraints_poset} and lastly, $\mathsf{refine}$ is a function that extends a trace and a refinement to the new event $e$. We provide more details for $\mathsf{refine}$ in the appendix. Also in the appendix, we show that at each call of $\mathsf{concretise}$, the concretisations obtained so far are correct w.r.t.~\autoref{def:concret}.
386
387
387
388
\subsection{Interpreting inhibition on posets}
389
+
\label{sec:inhibition}
388
390
389
391
\begin{definition}[Refinement based on negative influence]
Copy file name to clipboardExpand all lines: notes/site_graphs.tex
+62-9Lines changed: 62 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ \subsection{The category of site-graphs}
25
25
Denote $\varepsilon$ the empty $\Sigma$-graph.
26
26
\end{definition}
27
27
28
-
\begin{definition}[Morphisms]
28
+
\begin{definition}[Morphisms on site-graphs]
29
29
\label{def:site_morph}
30
30
A morphism $h:G\to H$ is a total function on agents $h:\ag_G\to\ag_H$ such that
31
31
\begin{itemize}
@@ -53,7 +53,7 @@ \subsection{The category of site-graphs}
53
53
\end{definition}
54
54
55
55
\begin{lemma}
56
-
Site-graphs and morphisms form a category.
56
+
Site-graphs and their morphisms form a category.
57
57
\end{lemma}
58
58
\begin{proof}
59
59
The category of site graphs has as objects the site graphs of~\autoref{def:site_graphs} and arrows are the morphisms of~\autoref{def:site_morph}.
@@ -70,7 +70,7 @@ \subsection{The category of site-graphs}
70
70
The axioms of associativity and identity law easily hold.
71
71
\end{proof}
72
72
73
-
\begin{definition}[Rules]
73
+
\begin{definition}[Kappa rules]
74
74
\label{def:rule_site}
75
75
A rule is a span $L\overset{h}{\remb} D \overset{g}{\lemb} R$ such that $h$ and $g$ are monos on site graphs and the following hold
76
76
\begin{itemize}
@@ -158,18 +158,71 @@ \subsection{The category of site-graphs}
158
158
Suppose that there is a conflict in $N$ due to the property sets. For example, let $(a,i)\in p{k,R}$, $(a,i)\in p{k',D}$ and $k\neq k'$. We can reach a contradiction by deriving that $(a,i)\in p{k'',L}$ from \autoref{def:rule_site}.
159
159
160
160
We have that $N$ is the pushout from the first item of our proof.
161
-
\end{enumerate}
162
-
\end{proof}
161
+
\end{enumerate}
162
+
\end{proof}
163
+
164
+
%In~\autoref{def:pos_infl} we defined influence between rules in the category of simple graphs. We adapt the definition to site graphs, by
165
+
166
+
167
+
%% \begin{definition}[Low and medium res influence]
168
+
%% Let $r_1:L_1{\remb} D_1 {\lemb} R_1$ and $r_2:L_2{\remb} D_2 {\lemb} R_2$ be two rules.
169
+
%% Let the cospan $R_1\lemb M\remb L_2$ be in the multisum of $R_1$ and $L_2$, defined on simple graphs, from which we get the span $R_1\remb O\lemb L_2$ as pullback, such that
170
+
%% If the graph $O$ is a site graph then $r_1\redl{+} r_2$
171
+
172
+
173
+
%% \end{definition}
163
174
164
175
%\input{influence_kappa.tex}
165
-
Results form~\autoref{sec:ts} hold on site graphs as well with one inconvience. As the pushout of two site graphs is not always a site graphs we have to ensure that whenever we compose transition as in~\autoref{def:concret} we do obtain site graphs. The problem occurs whenever we have two events $e_1$ and $e_2$ for which there is a decoration $R_1\remb O\lemb L_2$ but there is a conflict in the pushout.
166
-
The following lemma ensures that for any two such events, there is an intermediate event, occuring between $e_1$ and $e_2$, that "resolves" the conflict.
176
+
Results form~\autoref{sec:ts} hold on site graphs. However, as the pushout of two site graphs is not always a site graphs we have to ensure that whenever we compose transition as in~\autoref{sec:refinement} and~\autoref{sec:inhibition} we do obtain site graphs. Let us first consider the issue with the concretisation function.
177
+
178
+
The problem occurs whenever we have two events $e_1$ and $e_2$ for which there is a decoration $R_1\remb O\lemb L_2$ but for which the graph obtained in the pushout is not a site graph. Let us first refine low res precedence to distinguish between the case where the pushout of a decoration yields a site graph and the case where it does not.
179
+
180
+
\begin{definition}[Medium res dependence]
181
+
Let $t_1:M_1\overset{m_1,p_1}{\Rightarrow} N_1$ and $t_2:M_2\overset{m_2,p_2}{\Rightarrow} N_2$ be two transitions in a trace $\theta:t_1;t_1':t_2';\cdots t_n';t_2$ and let $p_1:L_1{\remb} D_1 {\lemb} R_1$ and $p_2:L_2{\remb} D_2 {\lemb} R_2$ be two corresponding rules. The morphism $N_1\pmorph M_2$ is the composition of $\spo(t_1')\circ\dots\spo(t_n')$.
182
+
183
+
If there exists $\spa:R_1\remb O\lemb L_2$ such that $p_1\redl{+}_{\spa} p_2$ and such that the diagram commutes
184
+
185
+
Let the span $\spa:R_1\remb O\lemb L_2$ be the pullback of the cospan $R_1{\lemb}M{\remb}L_2$ in the multisum of $R_1$ and $L_2$ such that $p_1\redl{+}_{\spa} p_2$. If there are no morphisms $M\lemb M_1$ or $M\lemb M_2$ such that the diagram commutes
then $t_2$ is medium res dependent on $t_1$, denoted $t_1\ll t_2$.
216
+
\end{definition}
217
+
Note that in simple grahs medium res and low res dependence coincide. In site graphs $t_1\ll t_2\implies t_1\prec t_2$ but not the reverse.
218
+
219
+
The following lemma ensures that for any two such events, for which the decoration leads to a medium res precedence there exists an event occuring between the two that "resolves" the conflict.
167
220
168
221
\begin{lemma}
169
-
Let $\theta$ be a causal trace and $t_1:M_1\overset{m_1,p_1}{\Rightarrow} N_1$, $t_2M_2\overset{m_2,p_2}{\Rightarrow} N_2$ two transitions such that $t_1\prec t_2$ but $t_1< t_2$. Then there exists transition $t_3$ such that $t_3\leq t_2$ and either $t_1\prec t_2$ or $t_3\dashv t_1$.
222
+
Let $\theta$ be a causal trace and $t_1:M_1\overset{m_1,p_1}{\Rightarrow} N_1$, $t_2:M_2\overset{m_2,p_2}{\Rightarrow} N_2$be two transitions such that $t_1\prec t_2$ but $\neg(t_1\ll t_2)$. Then there exists transition $t_3$ such that $t_3\leq t_2$ and either $t_1\prec t_2$ or $t_3\dashv t_1$.
170
223
\end{lemma}
171
224
\begin{proof}
172
-
From~\autoref{def:prec} there exists $t_1:M_1\overset{m_1,p_1}{\Rightarrow} N_1$ and $t_2:M_2\overset{m_2,p_2}{\Rightarrow} N_2$ two transitions such that$\alpha(t_1)=e_1$, $\alpha(t_2)=e_2$ and $\theta:N_1\Rightarrow^{\star}M_2$ a trace between them. Let us first make some remarks.
225
+
Let $\theta':t_1;\cdots t_2$ be a subtrace of$\theta$.
173
226
174
227
First, as $e_1\not< e_2$, the trace $\theta$ is not empty. There exists at least one transition in $\theta$. We consider two cases: there is only one transition in $\theta$ and then the more general case of more than one transition.
0 commit comments