src/Tools/coherent.ML
changeset 30510 4120fc59dd85
parent 30164 9321f7b70450
child 30552 58db56278478
equal deleted inserted replaced
30509:e19d5b459a61 30510:4120fc59dd85
   223        | SOME prf =>
   223        | SOME prf =>
   224            rtac (thm_of_cl_prf (ProofContext.theory_of context) concl [] prf) 1
   224            rtac (thm_of_cl_prf (ProofContext.theory_of context) concl [] prf) 1
   225     end) context 1) ctxt;
   225     end) context 1) ctxt;
   226 
   226 
   227 fun coherent_meth rules ctxt =
   227 fun coherent_meth rules ctxt =
   228   Method.METHOD (fn facts => coherent_tac (facts @ rules) ctxt 1);
   228   METHOD (fn facts => coherent_tac (facts @ rules) ctxt 1);
   229 
   229 
   230 val setup = Method.add_method
   230 val setup = Method.add_method
   231   ("coherent", Method.thms_ctxt_args coherent_meth, "prove coherent formula");
   231   ("coherent", Method.thms_ctxt_args coherent_meth, "prove coherent formula");
   232 
   232 
   233 end;
   233 end;