chiark / gitweb /
notation: define \commitmergeof in terms of \stmtmergeof
[topbloke-formulae.git] / notation.tex
index b5e0e9d5549c85d32514ae3e2756e56c33f7b0b2..f8f2b87973b9ad3740b7c4f4a595ac10e293c830 100644 (file)
@@ -89,7 +89,6 @@ git's merge algorithm will DTRT when trying to re-apply the changes.
 \item[ $\displaystyle \stmtmergeof{L}{M}{R} $ ]
 The proper results of a merge.  Formally,
 where $L$, $M$ and $R$ are statements:
-
 $$
   \stmtmergeof{L}{M}{R}
     \equiv
@@ -117,9 +116,8 @@ The contents of a git merge result:
 
 $\displaystyle D \isin C \equiv
   \begin{cases}
-    (D \isin L \land D \isin R) \lor D = C : & \true \\
-    (D \not\isin L \land D \not\isin R) \land D \neq C : & \false \\
-    \text{otherwise} : & D \not\isin M
+    D = C : & \true \\
+    D \neq C : & \stmtmergeof{ D \isin L }{ D \isin M }{ D \isin R }
   \end{cases}
 $