src/HOL/Auth/KerberosIV.ML
changeset 13630 a013a9dd370f
parent 11655 923e4d0d36d5
child 13926 6e62e5357a10
equal deleted inserted replaced
13629:a46362d2b19b 13630:a013a9dd370f
   770 (*The Oops1 case is unusual: must simplify Authkey \\<notin> analz (spies (ev#evs))
   770 (*The Oops1 case is unusual: must simplify Authkey \\<notin> analz (spies (ev#evs))
   771   rather than weakening it to Authkey \\<notin> analz (spies evs), for we then
   771   rather than weakening it to Authkey \\<notin> analz (spies evs), for we then
   772   conclude AuthKey \\<noteq> AuthKeya.*)
   772   conclude AuthKey \\<noteq> AuthKeya.*)
   773 by (Clarify_tac 9);
   773 by (Clarify_tac 9);
   774 by analz_sees_tac;
   774 by analz_sees_tac;
   775 by (rotate_tac ~1 11);
       
   776 by (ALLGOALS 
   775 by (ALLGOALS 
   777     (asm_full_simp_tac 
   776     (asm_full_simp_tac 
   778      (simpset() addsimps [less_SucI, new_keys_not_analzd,
   777      (simpset() addsimps [less_SucI, new_keys_not_analzd,
   779 			  Says_Kas_message_form, Says_Tgs_message_form,
   778 			  Says_Kas_message_form, Says_Tgs_message_form,
   780 			  analz_insert_eq, not_parts_not_analz, 
   779 			  analz_insert_eq, not_parts_not_analz, 
   798 (*K5.  Not clear how this step could be integrated with the main
   797 (*K5.  Not clear how this step could be integrated with the main
   799        simplification step.*)
   798        simplification step.*)
   800 by (thin_tac "Says Aa Tgs ?X \\<in> set ?evs" 1);
   799 by (thin_tac "Says Aa Tgs ?X \\<in> set ?evs" 1);
   801 by (forward_tac [Says_imp_spies RS parts.Inj RS ServKey_notin_AuthKeysD] 1);
   800 by (forward_tac [Says_imp_spies RS parts.Inj RS ServKey_notin_AuthKeysD] 1);
   802 by (assume_tac 1 THEN Blast_tac 1 THEN assume_tac 1);
   801 by (assume_tac 1 THEN Blast_tac 1 THEN assume_tac 1);
   803 by (rotate_tac ~1 1);
       
   804 by (asm_full_simp_tac (simpset() addsimps [analz_insert_freshK2]) 1);
   802 by (asm_full_simp_tac (simpset() addsimps [analz_insert_freshK2]) 1);
   805 by (blast_tac (claset() addDs [Says_imp_spies RS parts.Inj, Key_unique_SesKey] 
   803 by (blast_tac (claset() addDs [Says_imp_spies RS parts.Inj, Key_unique_SesKey] 
   806                         addIs  [less_SucI]) 1);
   804                         addIs  [less_SucI]) 1);
   807 qed_spec_mp "Confidentiality_lemma";
   805 qed_spec_mp "Confidentiality_lemma";
   808 
   806