src/HOLCF/IOA/meta_theory/Abstraction.ML
changeset 5677 4feffde494cf
parent 5676 96b048840bb3
child 5976 44290b71a85f
equal deleted inserted replaced
5676:96b048840bb3 5677:4feffde494cf
   490 by (Seq_case_simp_tac "y" 1);
   490 by (Seq_case_simp_tac "y" 1);
   491 by (pair_tac "a" 1);
   491 by (pair_tac "a" 1);
   492 by Auto_tac;
   492 by Auto_tac;
   493 qed"TLex2seq";
   493 qed"TLex2seq";
   494 
   494 
   495 Goal "(TL`(ex2seq ex)~=UU) = ((snd ex)~=UU)";
       
   496 by (pair_tac "ex" 1);
       
   497 by (Seq_case_simp_tac "y" 1);
       
   498 by (pair_tac "a" 1);
       
   499 by (Seq_case_simp_tac "s" 1);
       
   500 by (pair_tac "a" 1);
       
   501 qed"ex2seqUUTL";
       
   502  
   495  
   503 Goal "(TL`(ex2seq ex)~=nil) = ((snd ex)~=nil)";
   496 Goal "(TL`(ex2seq ex)~=nil) = ((snd ex)~=nil & (snd ex)~=UU)";
   504 by (pair_tac "ex" 1);
   497 by (pair_tac "ex" 1);
   505 by (Seq_case_simp_tac "y" 1);
   498 by (Seq_case_simp_tac "y" 1);
   506 by (pair_tac "a" 1);
   499 by (pair_tac "a" 1);
   507 by (Seq_case_simp_tac "s" 1);
   500 by (Seq_case_simp_tac "s" 1);
   508 by (pair_tac "a" 1);
   501 by (pair_tac "a" 1);
   519 by (asm_full_simp_tac (simpset() addsimps [TL_ex2seq_nil,TL_ex2seq_UU]) 1);
   512 by (asm_full_simp_tac (simpset() addsimps [TL_ex2seq_nil,TL_ex2seq_UU]) 1);
   520 by (asm_full_simp_tac (simpset() addsimps [TL_ex2seq_nil,TL_ex2seq_UU]) 1);
   513 by (asm_full_simp_tac (simpset() addsimps [TL_ex2seq_nil,TL_ex2seq_UU]) 1);
   521 by (asm_full_simp_tac (simpset() addsimps [TL_ex2seq_nil,TL_ex2seq_UU]) 1);
   514 by (asm_full_simp_tac (simpset() addsimps [TL_ex2seq_nil,TL_ex2seq_UU]) 1);
   522 (* cons case *)
   515 (* cons case *)
   523 by (asm_full_simp_tac (simpset() addsimps [TL_ex2seq_nil,TL_ex2seq_UU,
   516 by (asm_full_simp_tac (simpset() addsimps [TL_ex2seq_nil,TL_ex2seq_UU,
   524         ex2seq_abs_cex,cex_absSeq_TL RS sym, ex2seqUUTL,ex2seqnilTL])1);
   517         ex2seq_abs_cex,cex_absSeq_TL RS sym, ex2seqnilTL])1);
       
   518 be conjE 1;
   525 by (dtac TLex2seq 1);
   519 by (dtac TLex2seq 1);
   526 by (assume_tac 1);
   520 by (assume_tac 1);
   527 by Auto_tac;
   521 by Auto_tac;
   528 qed"strength_Next";
   522 qed"strength_Next";
   529 
   523