From: Ian Jackson Date: Thu, 1 Mar 2012 00:59:36 +0000 (+0000) Subject: patchof X-Git-Tag: f0.2~197 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=57b232d4acbec7ef364c74fbc450121530f37226;p=topbloke-formulae.git patchof --- diff --git a/article.tex b/article.tex index 28bc714..3538cc8 100644 --- a/article.tex +++ b/article.tex @@ -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 \} $