1
(************************************************************************)
2
(* v * The Coq Proof Assistant / The Coq Development Team *)
3
(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
4
(* \VV/ **************************************************************)
5
(* // * This file is distributed under the terms of the *)
6
(* * GNU Lesser General Public License Version 2.1 *)
7
(************************************************************************)
9
(*i $Id: redexpr.mli 11094 2008-06-10 19:35:23Z herbelin $ i*)
19
type red_expr = (constr, evaluable_global_reference) red_expr_gen
21
val out_with_occurrences : 'a with_occurrences -> occurrences * 'a
23
val reduction_of_red_expr : red_expr -> reduction_function * cast_kind
24
(* [true] if we should use the vm to verify the reduction *)
26
val declare_red_expr : string -> reduction_function -> unit
28
(* Opaque and Transparent commands. *)
30
(* Sets the expansion strategy of a constant. When the boolean is
31
true, the effect is non-synchronous (i.e. it does not survive
32
section and module closure). *)
34
bool -> (Conv_oracle.level * evaluable_global_reference list) list -> unit
36
(* call by value normalisation function using the virtual machine *)
37
val cbv_vm : reduction_function