src/HOL/UNITY/Extend.ML
changeset 13550 5a176b8dda84
parent 12338 de0f4a63baa5
equal deleted inserted replaced
13549:f1522b892a4c 13550:5a176b8dda84
   748 by (dtac subsetD 1);   
   748 by (dtac subsetD 1);   
   749 by (auto_tac (claset() addSIs [rev_image_eqI], simpset()));  
   749 by (auto_tac (claset() addSIs [rev_image_eqI], simpset()));  
   750 qed "ok_extend_imp_ok_project";
   750 qed "ok_extend_imp_ok_project";
   751 
   751 
   752 Goal "(extend h F ok extend h G) = (F ok G)";
   752 Goal "(extend h F ok extend h G) = (F ok G)";
   753 by (auto_tac (claset(), simpset() addsimps [ok_def]));  
   753 by (asm_full_simp_tac (simpset() addsimps [ok_def]) 1);
       
   754 by Safe_tac;
       
   755 by (REPEAT (Force_tac 1));
   754 qed "ok_extend_iff";
   756 qed "ok_extend_iff";
   755 
   757 
   756 Goalw [OK_def] "OK I (%i. extend h (F i)) = (OK I F)";
   758 Goalw [OK_def] "OK I (%i. extend h (F i)) = (OK I F)";
   757 by Safe_tac;
   759 by Safe_tac;
   758 by (dres_inst_tac [("x","i")] bspec 1); 
   760 by (dres_inst_tac [("x","i")] bspec 1);