]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/basic_rg/brgReduction.mli
...
[helm.git] / helm / software / lambda-delta / basic_rg / brgReduction.mli
index fecf29b83c647f5f29d1154b11574f3c3c01c2c6..b3a79ecaebb323943a8c6ac89073a5f6d017727c 100644 (file)
@@ -9,6 +9,22 @@
      \ /   This software is distributed as is, NO WARRANTY.              
       V_______________________________________________________________ *)
 
-exception LRefNotFound of string Lazy.t
-
 type context
+
+exception LRefNotFound of (context, Brg.term) Log.item list
+
+type ho_whd_result =
+   | Sort of int
+   | Abst of Brg.term
+
+val empty_context: context
+
+val push: (context -> 'a) -> context -> Brg.bind -> 'a
+
+val get: (Brg.bind -> 'a) -> context -> int -> 'a
+
+val iter: (unit -> 'a) -> ((unit -> 'a) -> Brg.bind -> 'a) -> context -> 'a
+
+val are_convertible: (bool -> 'a) -> context -> Brg.term -> Brg.term -> 'a
+
+val ho_whd: (context -> ho_whd_result -> 'a) -> context -> Brg.term -> 'a