slight speed improvement
authorpaulson
Tue, 15 Jun 2004 10:46:33 +0200
changeset 14945 7bfe4fa8a88f
parent 14944 efbaecbdc05c
child 14946 8aea9f96847f
slight speed improvement
src/HOL/Auth/KerberosIV.thy
--- a/src/HOL/Auth/KerberosIV.thy	Tue Jun 15 10:40:05 2004 +0200
+++ b/src/HOL/Auth/KerberosIV.thy	Tue Jun 15 10:46:33 2004 +0200
@@ -855,12 +855,14 @@
 apply (case_tac [11] "KeyCryptKey AuthKey SK evsO1")
 apply (case_tac [8] "KeyCryptKey ServKey SK evs5")
 apply (simp_all del: image_insert
-          add: analz_image_freshK_simps KeyCryptKey_Says shrK_not_KeyCryptKey
+          add: analz_image_freshK_simps KeyCryptKey_Says)
+txt{*Fake*} 
+apply spy_analz
+apply (simp_all del: image_insert
+          add: shrK_not_KeyCryptKey
                Oops2_not_KeyCryptKey Auth_fresh_not_KeyCryptKey
                Serv_fresh_not_KeyCryptKey Says_Tgs_KeyCryptKey Spy_analz_shrK)
-  --{*18 seconds on a 1.8GHz machine??*}
-txt{*Fake*} 
-apply spy_analz
+  --{*Splitting the @{text simp_all} into two parts makes it faster.*}
 txt{*K2*}
 apply blast 
 txt{*K3*}