equal
deleted
inserted
replaced
156 unfold_thms_tac ctxt (@{thms o_apply fst_conv snd_conv} @ rec_defs @ flat rec0_thmss) THEN |
156 unfold_thms_tac ctxt (@{thms o_apply fst_conv snd_conv} @ rec_defs @ flat rec0_thmss) THEN |
157 HEADGOAL (rtac ctxt refl); |
157 HEADGOAL (rtac ctxt refl); |
158 |
158 |
159 fun prove goal = |
159 fun prove goal = |
160 Goal.prove_sorry ctxt [] [] goal (tac o #context) |
160 Goal.prove_sorry ctxt [] [] goal (tac o #context) |
161 |> Thm.close_derivation; |
161 |> Thm.close_derivation \<^here>; |
162 in |
162 in |
163 map (map prove) goalss |
163 map (map prove) goalss |
164 end; |
164 end; |
165 |
165 |
166 fun define_split_rec_derive_induct_rec_thms Xs fpTs ctrXs_Tsss ctrss inducts induct recs0 rec_thmss |
166 fun define_split_rec_derive_induct_rec_thms Xs fpTs ctrXs_Tsss ctrss inducts induct recs0 rec_thmss |