src/HOL/Auth/Yahalom2.ML
changeset 4471 0abf9d3f4391
parent 4449 df30e75f670f
child 4477 b3e5857d8d99
--- a/src/HOL/Auth/Yahalom2.ML	Tue Dec 23 11:43:48 1997 +0100
+++ b/src/HOL/Auth/Yahalom2.ML	Tue Dec 23 11:46:03 1997 +0100
@@ -92,13 +92,8 @@
 qed "Spy_analz_shrK";
 Addsimps [Spy_analz_shrK];
 
-goal thy  "!!A. [| Key (shrK A) : parts (spies evs);       \
-\                  evs : yahalom |] ==> A:bad";
-by (blast_tac (claset() addDs [Spy_see_shrK]) 1);
-qed "Spy_see_shrK_D";
-
-bind_thm ("Spy_analz_shrK_D", analz_subset_parts RS subsetD RS Spy_see_shrK_D);
-AddSDs [Spy_see_shrK_D, Spy_analz_shrK_D];
+AddSDs [Spy_see_shrK RSN (2, rev_iffD1), 
+	Spy_analz_shrK RSN (2, rev_iffD1)];
 
 
 (*Nobody can have used non-existent keys!  Needed to apply analz_insert_Key*)