\newcommand{\pancsof}[2]{\pancs ( #1 , #2 ) }
\newcommand{\pendsof}[2]{\pends ( #1 , #2 ) }
-\newcommand{\merge}[4]{{\mathcal M}(#1,#2,#3,#4)}
+\newcommand{\merge}{{\mathcal M}}
+\newcommand{\mergeof}[4]{\merge(#1,#2,#3,#4)}
%\newcommand{\merge}[4]{{#2 {{\frac{ #1 }{ #3 } #4}}}}
\newcommand{\patch}{{\mathcal P}}
the Topbloke patch itself, we hope that git's merge algorithm will
DTRT or that the user will no longer care about the Topbloke patch.
-\item[ $\displaystyle \merge{C}{L}{M}{R} $ ]
+\item[ $\displaystyle \mergeof{C}{L}{M}{R} $ ]
The contents of a git merge result:
$\displaystyle D \isin C \equiv
If we are constructing $C$, given
\gathbegin
- \merge{C}{L}{M}{R}
+ \mergeof{C}{L}{M}{R}
\gathnext
L \le C
\gathnext
\gathnext
\patchof{C} = \patchof{L}
\gathnext
- \merge{C}{L}{R^+}{R^-}
+ \mergeof{C}{L}{R^+}{R^-}
\end{gather}
\subsection{Conditions}
\subsection{Desired Contents}
-\[ $D \isin C \equiv [ D \not\in \pry \land D \isin L$ ] \lor D = C \]
+\[ D \isin C \equiv [ D \notin \pry \land D \isin L ] \lor D = C \]
{\it Proof.}
\subsubsection{For $D = C$:}
Trivially $D \isin C$. OK.
-\subsubsection{For $D \not\le C$:}
+\subsubsection{For $D \neq C, D \not\le L$:}
+By No Replay $D \not\isin L$. Also $D \not\le R^-$ hence
+$D \not\isin R^-$. Thus $D \not\isin C$. OK.
+\subsubsection{For $D \neq C, D \le L, D \in \pry$:}
-\subsubsection{For $D \in R^+$:}
-By Currently Included,
+By Currently Included, $D \isin L$.
+
+By Tip Self Inpatch, $D \isin R^+ \equiv D \le R^+$, but by
+by Unique Tip, $D \le R^+ \equiv D \le L$.
+So $D \isin R^+$.
+
+By Base Acyclic, $D \not\isin R^-$.
+
+Apply $\merge$: $D \not\isin C$. OK.
+
+\subsubsection{For $D \neq C, D \le L, D \notin \pry$:}
+
+By Tip Contents for $R^+$, $D \isin R^+ \equiv D \isin R^-$.
+
+Apply $\merge$: $D \isin C \equiv D \isin L$. OK.
+
+$\qed$
\subsection{Unique Base}
\gathnext
\patchof{C} = \patchof{L}
\gathnext
- \merge{C}{L}{M}{R}
+ \mergeof{C}{L}{M}{R}
\end{gather}
\subsection{Conditions}