X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=topbloke-formulae.git;a=blobdiff_plain;f=article.tex;h=18c75dfb1514c6ca0748097dde557140d89658aa;hp=052b28b00b62819dc574bb770256bc42a7318355;hb=bb9635f169e0014d28a8ba992e5ab285b1ff16ea;hpb=652eb22f1325067110e21c4c90eb3f2533967042 diff --git a/article.tex b/article.tex index 052b28b..18c75df 100644 --- a/article.tex +++ b/article.tex @@ -26,7 +26,7 @@ \newcommand{\has}{\sqsupseteq} \newcommand{\isin}{\sqsubseteq} -\newcommand{\nothaspatch}{\mathrel{\,\!\not\relax\haspatch}} +\newcommand{\nothaspatch}{\mathrel{\,\not\!\not\relax\haspatch}} \newcommand{\notpatchisin}{\mathrel{\,\not\!\not\relax\patchisin}} \newcommand{\haspatch}{\sqSupset} \newcommand{\patchisin}{\sqSubset} @@ -46,6 +46,10 @@ \newcommand{\py}{\pay{P}} \newcommand{\pn}{\pan{P}} +\newcommand{\pc}{\pa{C}} +\newcommand{\pcy}{\pay{C}} +\newcommand{\pcn}{\pan{C}} + \newcommand{\pl}{\pa{L}} \newcommand{\ply}{\pay{L}} \newcommand{\pln}{\pan{L}} @@ -61,8 +65,8 @@ %\newcommand{\hasparents}{\underaccent{1}{>}} %\newcommand{\hasparents}{{% % \declareslashed{}{_{_1}}{0}{-0.8}{>}\slashed{>}}} -\newcommand{\hasparents}{>_{\mkern-7.0mu _1}} -\newcommand{\areparents}{<_{\mkern-14.0mu _1\mkern+5.0mu}} +\newcommand{\hasparents}{>_{\mkern-7.0mu _{1:}}} +\newcommand{\areparents}{<_{\mkern-14.0mu _{1:}\mkern+5.0mu}} \renewcommand{\implies}{\Rightarrow} \renewcommand{\equiv}{\Leftrightarrow} @@ -82,13 +86,38 @@ \newcommand{\patch}{{\mathcal P}} \newcommand{\base}{{\mathcal B}} +\newcommand{\depsreq}{{\mathcal D}} \newcommand{\patchof}[1]{\patch ( #1 ) } \newcommand{\baseof}[1]{\base ( #1 ) } +\newcommand{\depsreqof}[1]{\depsreq ( #1 ) } + +\newcommand{\allpatches}{\Upsilon} +\newcommand{\assign}{\leftarrow} +%\newcommand{\assign}{' =} \newcommand{\eqntag}[2]{ #2 \tag*{\mbox{#1}} } \newcommand{\eqn}[2]{ #2 \tag*{\mbox{\bf #1}} } +\newcommand{\hasdirdep}{\succ_{\mkern-7.0mu _1}} +\newcommand{\hasdep}{\succ} +\newcommand{\isdep}{\prec} + +\newcommand{\tipz}{ T^0 } +\newcommand{\tipc}{ T } +\newcommand{\tipu}{ T' } +\newcommand{\tipf}{ T^* } + +\newcommand{\tipza}[1]{ \tipz_{#1} } +\newcommand{\tipca}[1]{ \tipc_{#1} } +\newcommand{\tipua}[1]{ \tipu_{#1} } +\newcommand{\tipfa}[1]{ \tipf_{#1} } + +\newcommand{\tipzc}{ \tipza \pc } +\newcommand{\tipcc}{ \tipca \pc } +\newcommand{\tipuc}{ \tipua \pc } +\newcommand{\tipfc}{ \tipfa \pc } + %\newcommand{\bigforall}{\mathop{\hbox{\huge$\forall$}}} \newcommand{\bigforall}{% \mathop{\mathchoice% @@ -97,6 +126,13 @@ {\hbox{\normalsize$\forall$}}% {\hbox{\scriptsize$\forall$}}}% } +\newcommand{\bigexists}{% + \mathop{\mathchoice% + {\hbox{\huge$\exists$}}% + {\hbox{\Large$\exists$}}% + {\hbox{\normalsize$\exists$}}% + {\hbox{\scriptsize$\exists$}}}% +} \newcommand{\Largeexists}{\mathop{\hbox{\Large$\exists$}}} \newcommand{\Largenexists}{\mathop{\hbox{\Large$\nexists$}}} @@ -113,6 +149,8 @@ \begin{document} +\chapter{Data model} + \input{notation.tex} \input{invariants.tex} \input{lemmas.tex} @@ -124,4 +162,8 @@ \input{anticommit.tex} \input{merge.tex} +\chapter{Update strategy} + +\input{strategy.tex} + \end{document}