use rename_tac to make proof script more robust (with separate set type, 'clarify' yields different variable names)
authorhuffman
Wed, 08 Sep 2010 16:10:49 -0700
changeset 44535 5e681762d538
parent 44534 002b43117115
child 44536 534d7ee2644a
child 44537 c10485a6a7af
child 44540 968115499161
use rename_tac to make proof script more robust (with separate set type, 'clarify' yields different variable names)
src/HOL/Hoare_Parallel/OG_Hoare.thy
--- a/src/HOL/Hoare_Parallel/OG_Hoare.thy	Fri Aug 26 10:38:29 2011 -0700
+++ b/src/HOL/Hoare_Parallel/OG_Hoare.thy	Wed Sep 08 16:10:49 2010 -0700
@@ -436,10 +436,10 @@
 apply(rule TrueI)+
 --{* Parallel *}     
       apply(simp add: SEM_def sem_def)
-      apply clarify
+      apply(clarify, rename_tac x y i Ts')
       apply(frule Parallel_length_post_PStar)
       apply clarify
-      apply(drule_tac j=xb in Parallel_Strong_Soundness)
+      apply(drule_tac j=i in Parallel_Strong_Soundness)
          apply clarify
         apply simp
        apply force