aboutsummaryrefslogtreecommitdiffhomepage
path: root/proofs/tacred.mli
blob: a1aec82cdd3f785d707c7e80e9b5b8abc0e93a9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

(* $Id$ *)

(*i*)
open Names
open Term
open Environ
open Evd
open Reduction
(*i*)

(* Reduction functions associated to tactics. \label{tacred} *)

val hnf_constr : 'a reduction_function

val nf : 'a reduction_function

val one_step_reduce : 'a reduction_function

val reduce_to_mind : 
  env -> 'a evar_map -> constr -> constr * constr * constr

val reduce_to_ind : 
  env -> 'a evar_map -> constr -> section_path * constr * constr

type red_expr =
  | Red
  | Hnf
  | Simpl
  | Cbv of Closure.flags
  | Lazy of Closure.flags
  | Unfold of (int list * section_path) list
  | Fold of constr list
  | Change of constr
  | Pattern of (int list * constr * constr) list

val reduction_of_redexp : red_expr -> 'a reduction_function