src/HOL/Auth/Smartcard/ShoupRubinBella.thy
changeset 42793 88bee9f6eec7
parent 42766 92173262cfe9
child 44890 22f665a2e91c
equal deleted inserted replaced
42792:85fb70b0c5e8 42793:88bee9f6eec7
   746 structure ShoupRubinBella =
   746 structure ShoupRubinBella =
   747 struct
   747 struct
   748 
   748 
   749 fun prepare_tac ctxt = 
   749 fun prepare_tac ctxt = 
   750  (*SR_U8*)   forward_tac [@{thm Outpts_B_Card_form_7}] 14 THEN
   750  (*SR_U8*)   forward_tac [@{thm Outpts_B_Card_form_7}] 14 THEN
   751  (*SR_U8*)   clarify_tac (claset_of ctxt) 15 THEN
   751  (*SR_U8*)   clarify_tac ctxt 15 THEN
   752  (*SR_U9*)   forward_tac [@{thm Outpts_A_Card_form_4}] 16 THEN 
   752  (*SR_U9*)   forward_tac [@{thm Outpts_A_Card_form_4}] 16 THEN 
   753  (*SR_U11*)  forward_tac [@{thm Outpts_A_Card_form_10}] 21 
   753  (*SR_U11*)  forward_tac [@{thm Outpts_A_Card_form_10}] 21 
   754 
   754 
   755 fun parts_prepare_tac ctxt = 
   755 fun parts_prepare_tac ctxt = 
   756            prepare_tac ctxt THEN
   756            prepare_tac ctxt THEN
   757  (*SR_U9*)   dresolve_tac [@{thm Gets_imp_knows_Spy_parts_Snd}] 18 THEN 
   757  (*SR_U9*)   dresolve_tac [@{thm Gets_imp_knows_Spy_parts_Snd}] 18 THEN 
   758  (*SR_U9*)   dresolve_tac [@{thm Gets_imp_knows_Spy_parts_Snd}] 19 THEN 
   758  (*SR_U9*)   dresolve_tac [@{thm Gets_imp_knows_Spy_parts_Snd}] 19 THEN 
   759  (*Oops1*) dresolve_tac [@{thm Outpts_B_Card_form_7}] 25    THEN               
   759  (*Oops1*) dresolve_tac [@{thm Outpts_B_Card_form_7}] 25    THEN               
   760  (*Oops2*) dresolve_tac [@{thm Outpts_A_Card_form_10}] 27 THEN                
   760  (*Oops2*) dresolve_tac [@{thm Outpts_A_Card_form_10}] 27 THEN                
   761  (*Base*)  (force_tac (clasimpset_of ctxt)) 1
   761  (*Base*)  (force_tac ctxt) 1
   762 
   762 
   763 fun analz_prepare_tac ctxt = 
   763 fun analz_prepare_tac ctxt = 
   764          prepare_tac ctxt THEN
   764          prepare_tac ctxt THEN
   765          dtac (@{thm Gets_imp_knows_Spy_analz_Snd}) 18 THEN 
   765          dtac (@{thm Gets_imp_knows_Spy_analz_Snd}) 18 THEN 
   766  (*SR_U9*) dtac (@{thm Gets_imp_knows_Spy_analz_Snd}) 19 THEN 
   766  (*SR_U9*) dtac (@{thm Gets_imp_knows_Spy_analz_Snd}) 19 THEN