chiark / gitweb /
patchof
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 1 Mar 2012 00:59:36 +0000 (00:59 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 1 Mar 2012 00:59:36 +0000 (00:59 +0000)
article.tex

index 28bc7143c0aee4db8a4ccbc9bb29ebbb402ead5e..3538cc827b48e7bb1fadb5d83eb5df7bd5aa5c39 100644 (file)
@@ -38,6 +38,8 @@
 \newcommand{\pancs}[2]{{\mathcal A} ( #1 , #2 ) }
 \newcommand{\pends}[2]{{\mathcal E} ( #1 , #2 ) }
 
+\newcommand{\patchof}[1]{{\mathcal P} ( #1 ) }
+
 \renewcommand{\land}{\wedge}
 
 \begin{document}
@@ -71,7 +73,11 @@ A patch $\p$ consists of two sets of commits $\pn$ and $\py$, which
 are respectively the base and tip git branches.  $\p$ may be used
 where the context requires a set, in which case the statement
 is to be taken as applying to both $\py$ and $\pn$.
-All these sets are distinct.
+All these sets are distinct.  Hence:
+
+\item[ $ \patchof{ C } $ ]
+Either $\p$ s.t. $ C \in \p $, or $\bot$.  
+A function from commits to sets $\p$.
 
 \item[ $ \pancs{C}{\set P} $ ]
 $ \{ A \; | \; A \le C \land A \in \set P \} $