X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=article.tex;h=dd5c9966a54e7e6d7265dfc0dd6790e8e4d9419e;hb=02d646dff7177c19756094eb179a5c324e268f3b;hp=475477f1ac8fedadeb1b0ccde61eb77aaeb12bdd;hpb=eb02216495da42d7de57d8ecf16b62dd50d2baf2;p=topbloke-formulae.git diff --git a/article.tex b/article.tex index 475477f..dd5c996 100644 --- a/article.tex +++ b/article.tex @@ -84,15 +84,18 @@ \newcommand{\pancsof}[2]{\pancs ( #1 , #2 ) } \newcommand{\pendsof}[2]{\pends ( #1 , #2 ) } -\newcommand{\merge}{{\mathcal M}} -\newcommand{\mergeof}[4]{\merge(#1,#2,#3,#4)} +%\newcommand{\commitmerge}{\text{\commitmergename}} +\newcommand{\commitmergeof}[4]{#1 \approx \stmtmergeof{#2}{#3}{#4}} %\newcommand{\merge}[4]{{#2 {{\frac{ #1 }{ #3 } #4}}}} +\newcommand{\commitmergename}{Git Merge} \newcommand{\patch}{{\mathcal P}} \newcommand{\base}{{\mathcal B}} \newcommand{\depsreq}{{\mathcal G}} \newcommand{\allsrcs}{\set U} +\newcommand{\allreach}{\set O} +\newcommand{\allreachof}[1]{\set O^{#1}} \newcommand{\patchof}[1]{\patch ( #1 ) } \newcommand{\baseof}[1]{\base ( #1 ) } @@ -106,9 +109,13 @@ \newcommand{\iassign}{\leftarrow} %\newcommand{\assign}{' =} +\newcommand{\mergeof}[3]{\left\langle #1 \;\middle\langle #2 \middle\rangle\; #3 \right\rangle} + \newcommand{\alg}[1]{\text{\bf #1}} -\newcommand{\setmerge}{\alg{merge}} -\newcommand{\setmergeof}[3]{\setmerge\left\langle #1 \;\middle\langle #2 \middle\rangle\; #3 \right\rangle} +\newcommand{\setmerge}{\mergeof{}{}{}} +\newcommand{\setmergeof}[3]{\mergeof{#1}{#2}{#3}} +\newcommand{\stmtmergeof}[3]{\mergeof{#1}{#2}{#3}} + %\newcommand{\setmergeof}[3]{\setmerge\left\lgroup #1 \;\middle\lmoustache\; #2 \;\middle\rmoustache\; #3 \right\rgroup} %\newcommand{\setmergeof}[3]{\setmerge\left\rmoustache #1 \middle\rmoustache #2 \middle\lmoustache #3 \right\lmoustache} %\newcommand{\setmergeof}[3]{\setmerge\left\lfloor #1 \middle\lfloor #2 \middle\rfloor #3 \right\rfloor} @@ -128,6 +135,8 @@ \newcommand{\tipdn}{ \tipa \pdn } \newcommand{\tipdy}{ \tipa \pdy } +\newcommand{\tippy}{ \tipa \py } + %\newcommand{\bigforall}{\mathop{\hbox{\huge$\forall$}}} \newcommand{\bigforall}{% \mathop{\mathchoice% @@ -151,6 +160,16 @@ \newcommand{\proofstarts}{{\it Proof:}} \newcommand{\proof}[1]{\proofstarts #1 $\qed$} +\newcommand{\commitproof}[1]{{\bf Proof of commit generation conditions:} + #1 $\qed$} +\newcommand{\condproof}[2]{ + +{\it #1:} #2 + +} + +\newcommand{\statement}[2]{\[\eqn{ #1 }{ #2 }\]} + \newcommand{\gathbegin}{\begin{gather} \tag*{}} \newcommand{\gathnext}{\\ \tag*{}} @@ -177,7 +196,6 @@ \input{strategy.tex} \input{ranking.tex} -\input{trav-alg.tex} -\input{trav-proofs.tex} +\input{traversal.tex} \end{document}