added warning_count for issued reconstruction failure messages;
authorwenzelm
Thu, 29 May 2008 23:46:37 +0200
changeset 27017 1e0e8c1adf8c
parent 27016 dfc4171b7b8b
child 27018 b3e63f39fc0f
added warning_count for issued reconstruction failure messages;
src/HOL/Tools/lin_arith.ML
--- a/src/HOL/Tools/lin_arith.ML	Thu May 29 23:46:36 2008 +0200
+++ b/src/HOL/Tools/lin_arith.ML	Thu May 29 23:46:37 2008 +0200
@@ -36,6 +36,7 @@
      {add_mono_thms: thm list, mult_mono_thms: thm list, inj_thms: thm list,
       lessD: thm list, neqE: thm list, simpset: Simplifier.simpset}) ->
     Context.generic -> Context.generic
+  val warning_count: int ref
   val setup: Context.generic -> Context.generic
 end;
 
@@ -780,14 +781,14 @@
 
 val lin_arith_pre_tac = LA_Data_Ref.pre_tac;
 
-structure Fast_Arith =
-  Fast_Lin_Arith(structure LA_Logic=LA_Logic and LA_Data=LA_Data_Ref);
+structure Fast_Arith = Fast_Lin_Arith(structure LA_Logic = LA_Logic and LA_Data = LA_Data_Ref);
 
 val map_data = Fast_Arith.map_data;
 
-fun fast_arith_tac ctxt    = Fast_Arith.lin_arith_tac ctxt false;
-val fast_ex_arith_tac      = Fast_Arith.lin_arith_tac;
-val trace_arith            = Fast_Arith.trace;
+fun fast_arith_tac ctxt = Fast_Arith.lin_arith_tac ctxt false;
+val fast_ex_arith_tac = Fast_Arith.lin_arith_tac;
+val trace_arith = Fast_Arith.trace;
+val warning_count = Fast_Arith.warning_count;
 
 (* reduce contradictory <= to False.
    Most of the work is done by the cancel tactics. *)