src/HOL/UNITY/GenPrefix.ML
changeset 8067 225e3b45b766
parent 7839 03fd460cb8b8
child 8128 3a5864b465e2
--- a/src/HOL/UNITY/GenPrefix.ML	Thu Dec 16 17:01:16 1999 +0100
+++ b/src/HOL/UNITY/GenPrefix.ML	Fri Dec 17 10:30:48 1999 +0100
@@ -343,3 +343,18 @@
 qed "trans_Ge";
 
 AddIffs [reflexive_Ge, antisym_Ge, trans_Ge];
+
+Goal "r<=s ==> genPrefix r <= genPrefix s";
+by (Clarify_tac 1);
+by (etac genPrefix.induct 1);
+by (auto_tac (claset() addIs [genPrefix.append], simpset()));
+qed "genPrefix_mono";
+
+Goalw [prefix_def, Le_def] "xs<=ys ==> xs pfixLe ys";
+by (blast_tac (claset() addIs [impOfSubs genPrefix_mono]) 1);
+qed "prefix_imp_pfixLe";
+
+Goalw [prefix_def, Ge_def] "xs<=ys ==> xs pfixGe ys";
+by (blast_tac (claset() addIs [impOfSubs genPrefix_mono]) 1);
+qed "prefix_imp_pfixGe";
+