chiark / gitweb /
strategy: introduce \condproof
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 14 Jul 2012 01:50:50 +0000 (02:50 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 14 Jul 2012 01:50:50 +0000 (02:50 +0100)
article.tex
traversal.tex

index a320e58cc1309a2a7397ff187ea2271edafd3b8f..dd5c9966a54e7e6d7265dfc0dd6790e8e4d9419e 100644 (file)
 \newcommand{\qed}{\square}
 \newcommand{\proofstarts}{{\it Proof:}}
 \newcommand{\proof}[1]{\proofstarts #1 $\qed$}
-\newcommand{\commitproof}[1]{{\it Proof of commit generation conditions:}
+
+\newcommand{\commitproof}[1]{{\bf Proof of commit generation conditions:}
  #1 $\qed$}
+\newcommand{\condproof}[2]{
+
+{\it #1:} #2
+
+}
 
 \newcommand{\statement}[2]{\[\eqn{ #1 }{ #2 }\]}
 
index c9647ad7e6ea93d98c08f0177cb709df1c035328..93a3eb82e87cb8bcbeb810dc479ad6756b49393b 100644 (file)
@@ -151,12 +151,13 @@ Use $\alg{Create Base}$ with $L$ = $\tipdy,\; \pq = \pc$ to generate $C$
 and set $W \iassign C$.
 
  \commitproof{
-  Create Acyclic: by Tip Correct Contents of $L$,
-  $L \haspatch \pa E \equiv \pa E = \pd \lor \pa E \isdep \pd$.
-  Now $\pd \isdirdep \pc$,
-  so by Coherence, and setting $\pa E = \pc$,
-  $L \nothaspatch \pc$. I.e. $L \nothaspatch \pq$.  OK.
-
+  \condproof{Create Acyclic}{
+   by Tip Correct Contents of $L$,
+   $L \haspatch \pa E \equiv \pa E = \pd \lor \pa E \isdep \pd$.
+   Now $\pd \isdirdep \pc$,
+   so by Coherence, and setting $\pa E = \pc$,
+   $L \nothaspatch \pc$. I.e. $L \nothaspatch \pq$.  OK.
+  }
   That's everything for Create Base.
  }
 
@@ -171,11 +172,12 @@ sources.  That is, use $\alg{Pseudo-Merge}$ with $L = W, \;
 \set R = \{ W \} \cup \set S^{\pcn}$.
 
  \commitproof{
-  Base Only: $\patchof{W} = \patchof{L} = \pn$.  OK.
+  \condproof{Base Only}{ $\patchof{W} = \patchof{L} = \pn$.  OK. }
 
-  Unique Tips:
-  Want to prove that for any $\p \isin C$, $\tipdy$ is a suitable $T$.
-  WIP TODO
+  \condproof{Unique Tips}{
+   Want to prove that for any $\p \isin C$, $\tipdy$ is a suitable $T$.
+   WIP TODO
+  }
 
   WIP TODO INCOMPLETE
  }