chiark / gitweb /
more style
[topbloke-formulae.git] / article.tex
index 73f34301ebeb926e0d9242fd99d4f345ce2b4ee2..3593f3221b6647f788ac10db67f6d46673348fac 100644 (file)
 \newcommand{\areparents}{<_{\mkern-14.0mu _1\mkern+5.0mu}}
 
 \renewcommand{\implies}{\Rightarrow}
+\renewcommand{\equiv}{\Leftrightarrow}
+\renewcommand{\land}{\wedge}
+\renewcommand{\lor}{\vee}
 
 \newcommand{\pancs}[2]{{\mathcal A} ( #1 , #2 ) }
 \newcommand{\pends}[2]{{\mathcal E} ( #1 , #2 ) }
 
 \newcommand{\patchof}[1]{{\mathcal P} ( #1 ) }
-
-\renewcommand{\land}{\wedge}
+\newcommand{\baseof}[1]{{\mathcal B} ( #1 ) }
 
 \newcommand{\eqn}[2]{ #2 \tag*{\mbox{#1}} }
 
+\newcommand{\bigforall}{\mathop{\hbox{\huge$\forall$}}}
+
 \begin{document}
 
 \section{Notation}
@@ -92,14 +96,37 @@ $ \{ E \; | \; E \in \pancs{C}{\set P}
   A \neq E \land E \le A \} $ 
 i.e. all $\le$-maximal commits in $\pancs{C}{\set P}$.
 
+\item[ $ \baseof{C} $ ]
+$ \pends{C}{\pn} = \{ \baseof{C} \} $ where $ C \in \py $.
+A partial function from commits to commits.
+See ``unique base'', below.
+
+\item[ $ C \haspatch \p $ ]
+$ \bigforall_{D \in \py} D \isin C \equiv D \le C $.
+Informally, $C$ has the contents of $\p$.
+
+\item[ $\displaystyle C \nothaspatch \p $ ]
+$\displaystyle \bigforall_{D \in \py} D \not\isin C $.
+~ Informally, $C$ has none of the contents of $\p$.
+
 \end{basedescript}
 
 \section{Invariants}
 
-\begin{gather}
-\eqn{No replay:}{ C \has D \implies C \ge D } \\
-\eqn{Unique base:}{ \mathop{\forall}_{C \in \py} \pends{C}{\pn} = \{ B \} }
-\end{gather}
+\[ \eqn{No replay:}{
+  C \has D \implies C \ge D
+}\]
+\[\eqn{Unique base:}{
+ \bigforall_{C \in \py} \pends{C}{\pn} = \{ B \}
+}\]
+\[\eqn{Tip contents:}{
+  \bigforall_{C \in \py} D \isin C \equiv
+    { D \isin \baseof{C} \lor \atop
+      (D \in \py \land D \le C) }
+}\]
+\[\eqn{Base non-circ:}{
+  \bigforall_{B \in \pn} D \isin B \implies D \notin \py
+}\]
 
 \section{Test more symbols}