src/HOL/Tools/Datatype/datatype_data.ML
changeset 36323 655e2d74de3a
parent 35360 df2b2168e43a
child 36602 0cbcdfd9e527
equal deleted inserted replaced
36322:81cba3921ba5 36323:655e2d74de3a
   434         #-> after_qed
   434         #-> after_qed
   435       end;
   435       end;
   436   in
   436   in
   437     thy
   437     thy
   438     |> ProofContext.init
   438     |> ProofContext.init
   439     |> Proof.theorem_i NONE after_qed' ((map o map) (rpair []) (flat rules))
   439     |> Proof.theorem NONE after_qed' ((map o map) (rpair []) (flat rules))
   440   end;
   440   end;
   441 
   441 
   442 val rep_datatype = gen_rep_datatype Sign.cert_term;
   442 val rep_datatype = gen_rep_datatype Sign.cert_term;
   443 val rep_datatype_cmd = gen_rep_datatype Syntax.read_term_global default_config (K I);
   443 val rep_datatype_cmd = gen_rep_datatype Syntax.read_term_global default_config (K I);
   444 
   444