chiark / gitweb /
anticommit coherence
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 11 Mar 2012 12:23:37 +0000 (12:23 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 11 Mar 2012 12:23:37 +0000 (12:23 +0000)
article.tex

index 90acf96b1b33eeacfed349d24d147e14aadd9230..4b64118da837bfe24cfbfe7f3f59f5a8fab8e1fd 100644 (file)
@@ -496,6 +496,24 @@ Now from Desired Contents, above, $D \isin C
 \implies D \isin L \lor D = C$, which thus
 $\implies D \not\in \py$.  $\qed$.
 
+\subsection{Coherence and Patch Inclusion}
+
+Need to consider some $D \in \py$.  By Into Base, $D \neq C$.
+
+\subsubsection{For $\p = \pr$:}
+By Desired Contents, above, $D \not\isin C$.
+So $C \nothaspatch \pr$.
+
+\subsubsection{For $\p \neq \pr$:}
+By Desired Contents, $D \isin C \equiv D \isin L$
+(since $D \in \py$ so $D \not\in \pry$).
+
+If $L \nothaspatch \p$, $D \not\isin L$ so $D \not\isin C$.
+So $L \nothaspatch \p \implies C \nothaspatch \p$.
+
+Whereas if $L \haspatch \p$, $D \isin L \equiv D \le L$.
+so $L \haspatch \p \implies C \haspatch \p$.
+
 \section{Merge}
 
 Merge commits $L$ and $R$ using merge base $M$ ($M < L, M < R$):