equal
deleted
inserted
replaced
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; |