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