proper context for cooper_tac within arith;
authorwenzelm
Tue, 31 Jul 2007 19:40:25 +0200
changeset 24094 6db35c14146d
parent 24093 5d0ecd0c8f3c
child 24095 785c3cd7fcb5
proper context for cooper_tac within arith;
src/HOL/Presburger.thy
--- a/src/HOL/Presburger.thy	Tue Jul 31 19:40:24 2007 +0200
+++ b/src/HOL/Presburger.thy	Tue Jul 31 19:40:25 2007 +0200
@@ -441,10 +441,9 @@
 
 declaration {* fn _ =>
   arith_tactic_add
-    (mk_arith_tactic "presburger" (fn i => fn st =>
+    (mk_arith_tactic "presburger" (fn ctxt => fn i => fn st =>
        (warning "Trying Presburger arithmetic ...";   
-    Presburger.cooper_tac true [] [] ((ProofContext.init o theory_of_thm) st) i st)))
-  (* FIXME!!!!!!! get the right context!!*)	
+    Presburger.cooper_tac true [] [] ctxt i st)))
 *}
 
 method_setup presburger = {*