aboutsummaryrefslogtreecommitdiffhomepage
path: root/proofs/redexpr.mli
diff options
context:
space:
mode:
authorGravatar gregoire <gregoire@85f007b7-540e-0410-9357-904b9bb8a0f7>2005-12-02 10:01:15 +0000
committerGravatar gregoire <gregoire@85f007b7-540e-0410-9357-904b9bb8a0f7>2005-12-02 10:01:15 +0000
commitbf578ad5e2f63b7a36aeaef5e0597101db1bd24a (patch)
treec0bc4e5f9ae67b8a03b28134dab3dcfe31d184dd /proofs/redexpr.mli
parent825a338a1ddf1685d55bb5193aa5da078a534e1c (diff)
Changement des named_context
Ajout de cast indiquant au kernel la strategie a suivre Resolution du bug sur les coinductifs git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@7639 85f007b7-540e-0410-9357-904b9bb8a0f7
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