]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/basic_rg/brgReduction.mli
brg: change in the representation of binders
[helm.git] / helm / software / lambda-delta / basic_rg / brgReduction.mli
index b3a79ecaebb323943a8c6ac89073a5f6d017727c..eebb157254fc5f1ccc38e5ea4705c6915c7295fb 100644 (file)
@@ -9,22 +9,18 @@
      \ /   This software is distributed as is, NO WARRANTY.              
       V_______________________________________________________________ *)
 
-type context
+type kam
 
-exception LRefNotFound of (context, Brg.term) Log.item list
+val empty_kam: kam
 
-type ho_whd_result =
-   | Sort of int
-   | Abst of Brg.term
+val get: kam -> int -> Brg.bind
 
-val empty_context: context
+val push: kam -> Entity.attrs -> Brg.bind -> kam
 
-val push: (context -> 'a) -> context -> Brg.bind -> 'a
+val xwhd: Entity.status -> kam -> Brg.term -> kam * Brg.term 
 
-val get: (Brg.bind -> 'a) -> context -> int -> 'a
+(* arguments: expected type, inferred type *) 
+val are_convertible: 
+   Entity.status -> kam -> Brg.term -> kam -> Brg.term -> bool
 
-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
+val specs: (kam, Brg.term) Log.specs