Quot/Examples/FSet.thy
changeset 638 e472aa533a24
parent 636 520a4084d064
parent 634 54573efed527
child 640 5cb44fe9ae8e
child 641 b98d64dc98d9
equal deleted inserted replaced
637:b029f242d85d 638:e472aa533a24
   430 sorry
   430 sorry
   431 
   431 
   432 lemma "(\<lambda>e. (FUNION x (INSERT e EMPTY))) = (\<lambda>e. (INSERT e x))"
   432 lemma "(\<lambda>e. (FUNION x (INSERT e EMPTY))) = (\<lambda>e. (INSERT e x))"
   433 apply (tactic {* procedure_tac @{context} @{thm ttt2} 1 *})
   433 apply (tactic {* procedure_tac @{context} @{thm ttt2} 1 *})
   434 apply(tactic {* regularize_tac @{context} 1 *})
   434 apply(tactic {* regularize_tac @{context} 1 *})
   435 defer
   435 apply(rule impI)
       
   436 apply(simp)
       
   437 apply(rule allI)
       
   438 apply(rule list_eq_refl)
   436 apply(tactic {* all_inj_repabs_tac @{context} 1*})
   439 apply(tactic {* all_inj_repabs_tac @{context} 1*})
   437 apply(tactic {* clean_tac @{context} 1 *})
   440 apply(tactic {* clean_tac @{context} 1 *})
   438 apply(tactic {* clean_tac @{context} 1 *}) (* TODO: needs lambda_prs twice *)
   441 apply(tactic {* clean_tac @{context} 1 *}) (* TODO: needs lambda_prs twice *)
   439 sorry
   442 done
   440 
   443 
   441 lemma ttt3: "(\<lambda>x. ((op @) x ((op #) e []))) = (\<lambda>x. ((op #) e x))"
   444 lemma ttt3: "(\<lambda>x. ((op @) x ((op #) e []))) = (\<lambda>x. ((op #) e x))"
   442 sorry
   445 sorry
   443 
   446 
   444 lemma "(\<lambda>x. (FUNION x (INSERT e EMPTY))) = (\<lambda>x. (INSERT e x))"
   447 lemma "(\<lambda>x. (FUNION x (INSERT e EMPTY))) = (\<lambda>x. (INSERT e x))"