]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/basic_rg/brgReduction.mli
new tactic constructor: @[n]
[helm.git] / helm / software / lambda-delta / basic_rg / brgReduction.mli
index b3a79ecaebb323943a8c6ac89073a5f6d017727c..94f6543e06889c70f2ce768ecf105ea32a0cf4c3 100644 (file)
@@ -9,22 +9,19 @@
      \ /   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: (unit -> 'a) -> (Brg.bind -> 'a) -> kam -> int -> 'a
 
-val empty_context: context
+val push: (kam -> 'a) -> kam -> Brg.bind -> 'a
 
-val push: (context -> 'a) -> context -> Brg.bind -> 'a
+val xwhd: (kam -> Brg.term -> 'a) -> kam -> Brg.term -> 'a 
 
-val get: (Brg.bind -> 'a) -> context -> int -> 'a
+(* arguments: expected type, inferred type *) 
+val are_convertible:
+   (unit -> 'a) -> (unit -> 'a) -> 
+   ?si:bool -> kam -> Brg.term -> kam -> Brg.term -> '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
+val specs: (kam, Brg.term) Log.specs