]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/basic_rg/brgReduction.mli
first version of kernel "basic_rg"
[helm.git] / helm / software / lambda-delta / basic_rg / brgReduction.mli
index fecf29b83c647f5f29d1154b11574f3c3c01c2c6..a8320ed557463663219be39e88c66a1976dd5dac 100644 (file)
 exception LRefNotFound of string Lazy.t
 
 type context
+
+type ho_whd_result =
+   | Sort of int
+   | Abst of Brg.term
+
+val empty_context: context
+
+val push: (context -> 'a) -> context -> Brg.bind -> Brg.term -> 'a
+
+val get: (Brg.bind * Brg.term -> 'a) -> context -> int -> 'a
+
+val are_convertible: (bool -> 'a) -> context -> Brg.term -> Brg.term -> 'a
+
+val ho_whd: (context -> ho_whd_result -> 'a) -> context -> Brg.term -> 'a