src/Pure/axclass.ML
changeset 10463 474263d29057
parent 10309 a7f961fb62c6
child 10493 76e05ec87b57
equal deleted inserted replaced
10462:adf901eb9c40 10463:474263d29057
   437 
   437 
   438 fun inst_attribute add_thms (thy, thm) = (add_thms [thm] thy, thm);
   438 fun inst_attribute add_thms (thy, thm) = (add_thms [thm] thy, thm);
   439 
   439 
   440 fun inst_proof mk_prop add_thms (sig_prop, comment) int thy =
   440 fun inst_proof mk_prop add_thms (sig_prop, comment) int thy =
   441   thy
   441   thy
   442   |> IsarThy.theorem_i (("", [inst_attribute add_thms],
   442   |> IsarThy.theorem_i ((("", [inst_attribute add_thms]),
   443     (mk_prop (Theory.sign_of thy) sig_prop, ([], []))), comment) int;
   443     (mk_prop (Theory.sign_of thy) sig_prop, ([], []))), comment) int;
   444 
   444 
   445 val instance_subclass_proof = inst_proof (mk_classrel oo read_classrel) add_classrel_thms;
   445 val instance_subclass_proof = inst_proof (mk_classrel oo read_classrel) add_classrel_thms;
   446 val instance_subclass_proof_i = inst_proof (mk_classrel oo cert_classrel) add_classrel_thms;
   446 val instance_subclass_proof_i = inst_proof (mk_classrel oo cert_classrel) add_classrel_thms;
   447 val instance_arity_proof = inst_proof (mk_arity oo read_simple_arity) add_arity_thms;
   447 val instance_arity_proof = inst_proof (mk_arity oo read_simple_arity) add_arity_thms;