chiark / gitweb /
new THEORY, define inpatch
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 22 Feb 2012 10:49:25 +0000 (10:49 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 22 Feb 2012 10:49:25 +0000 (10:49 +0000)
THEORY

diff --git a/THEORY b/THEORY
index 5dd24c3c25bccc8dcecd2110eb90b7b3ef85d927..f40a1fc5848ad786e51b61a17b15e89e27c7e807 100644 (file)
--- a/THEORY
+++ b/THEORY
@@ -5,6 +5,9 @@ GENERAL
  Patch P has two sets P+, P-
  Ancestors A(C,P) = { Ca \elem C | Ca \elem P }
  Ends E(C,P) = maximal elements of A(C,P)
+ Patch inclusion
+   C \haspatch P    <=> [ \forall D \elem P+: D \isin C <=> D <= C ]
+   C \nothaspatch P <=> [ \forall D \elem P+: D \notisin C ]
 
 COMMIT ANNOTATIONS