chiark / gitweb /
traversal: proof of Tip Correct Contents
[topbloke-formulae.git] / trav-proofs.tex
index 981483e1c92c77f7c9d94811efe23b87e4e3ff58..876525dd7253d56f8963a23d41f6d71f02a1a52e 100644 (file)
@@ -5,6 +5,21 @@ that the commit generation preconditions are met.
 
 WIP WHAT ABOUT PROVING ALL THE TRAVERSAL RESULTS
 
+\subsection{Traversal Lemmas}
+
+Firstly, some lemmas.
+\statement{Tip Correct Contents}{
+  \tipcy \haspatch \pd
+    \equiv
+  \pd = \pc \lor \pd \isdep \pc
+}
+\proof{
+  For $\pc = \pd$, Tip Own Contents suffices.
+  For $\pc \neq \pd$, Exclusive Tip Contents
+  gives $D \isin \tipcy \equiv D \isin \baseof{\tipcy}$
+  which by Correct Base $\equiv D \isin \tipcn$.
+}
+
 \subsection{Base Dependency Merge, Base Sibling Merge}
 
 We do not prove that the preconditions are met.  Instead, we check
@@ -17,8 +32,9 @@ WIP WHAT ABOUT PROVING ALL THE TRAVERSAL RESULTS
 
 \subsection{Recreate Base Beginning}
 
-WHAT IF $\pendsof{L}{\pqy} \neq \{\}$ ?
-FIX BY CHANGE PRECOND OF CREATE BASE
+\subsubsection{Create Acyclic}
+
+$L = \tipdy$ so
 
 \subsection{Tip Base Merge}