module L = Log
module E = Entity
+module G = Options
+module S = Status
module B = Brg
module BE = BrgEnvironment
module BR = BrgReduction
(* Internal functions *******************************************************)
-let level = 4
+let level = 3
let message1 st1 m t1 =
L.et_items1 "In the environment" m st1 t1
| _ -> assert false (**)
let rec b_validate err f st m x =
- log1 "Now checking" m x;
+ if !G.trace >= level then log1 "Now checking" m x;
match x with
| B.Sort _ -> f ()
| B.LRef (_, i) ->
(* Interface functions ******************************************************)
-and validate err f st m x =
- let f () = L.unbox level; f () in
- L.box level; b_validate err f st m x
+and validate err f st m x = b_validate err f st m x