src/HOL/Arith.ML
changeset 8571 c323613e4a47
parent 8502 75fc67e56440
child 8708 2f2d2b4215d6
equal deleted inserted replaced
8570:63d4f3ea2e70 8571:c323613e4a47
  1032 
  1032 
  1033 
  1033 
  1034 (* proof method setup *)
  1034 (* proof method setup *)
  1035 
  1035 
  1036 fun arith_method prems =
  1036 fun arith_method prems =
  1037   Method.METHOD (fn facts => FIRSTGOAL (Method.insert_tac (prems @ facts) THEN' arith_tac));
  1037   Method.METHOD (fn facts => HEADGOAL (Method.insert_tac (prems @ facts) THEN' arith_tac));
  1038 
  1038 
  1039 val arith_setup =
  1039 val arith_setup =
  1040  [Method.add_methods
  1040  [Method.add_methods
  1041   [("arith", (arith_method o #2) oo Method.syntax Args.bang_facts , "decide linear arithmethic")]];
  1041   [("arith", (arith_method o #2) oo Method.syntax Args.bang_facts , "decide linear arithmethic")]];
  1042 
  1042