aboutsummaryrefslogtreecommitdiffhomepage
path: root/proofs/redexpr.mli
diff options
context:
space:
mode:
Diffstat (limited to 'proofs/redexpr.mli')
-rw-r--r--proofs/redexpr.mli10
1 files changed, 7 insertions, 3 deletions
diff --git a/proofs/redexpr.mli b/proofs/redexpr.mli
index 7146f7f5e..1c9393d7f 100644
--- a/proofs/redexpr.mli
+++ b/proofs/redexpr.mli
@@ -14,12 +14,11 @@ open Closure
open Rawterm
open Reductionops
-(* Call by value strategy (uses virtual machine) *)
-val cbv_vm : reduction_function
type red_expr = (constr, evaluable_global_reference) red_expr_gen
-val reduction_of_red_expr : red_expr -> reduction_function
+val reduction_of_red_expr : red_expr -> reduction_function * cast_kind
+(* [true] if we should use the vm to verify the reduction *)
val declare_red_expr : string -> reduction_function -> unit
@@ -29,3 +28,8 @@ val set_transparent_const : constant -> unit
val set_opaque_var : identifier -> unit
val set_transparent_var : identifier -> unit
+
+
+
+(* call by value normalisation function using the virtual machine *)
+val cbv_vm : reduction_function