equal
deleted
inserted
replaced
770 val t = #user_eqn sel_eqn |
770 val t = #user_eqn sel_eqn |
771 |> abstract 0 (List.rev (#fun_args sel_eqn)) (* FIXME do this in dissect_\<dots> *) |
771 |> abstract 0 (List.rev (#fun_args sel_eqn)) (* FIXME do this in dissect_\<dots> *) |
772 |> curry Logic.list_implies (map HOLogic.mk_Trueprop prems) |
772 |> curry Logic.list_implies (map HOLogic.mk_Trueprop prems) |
773 |> curry Logic.list_all (map dest_Free (#fun_args sel_eqn)); |
773 |> curry Logic.list_all (map dest_Free (#fun_args sel_eqn)); |
774 in |
774 in |
775 mk_primcorec_eq_tac lthy def_thms sel_corec k m exclsss |
775 mk_primcorec_ctr_or_sel_tac lthy def_thms sel_corec k m exclsss |
776 nested_maps nested_map_idents nested_map_comps |
776 nested_maps nested_map_idents nested_map_comps |
777 |> K |> Goal.prove lthy [] [] t |
777 |> K |> Goal.prove lthy [] [] t |
778 end; |
778 end; |
779 |
779 |
780 val disc_notes = |
780 val disc_notes = |