| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
open Names |
| 12 |
open Environ |
| 13 |
open Evd |
| 14 |
open EConstr |
| 15 |
open Reductionops |
| 16 |
open Pattern |
| 17 |
open Locus |
| 18 |
open Ltac_pretype |
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
val subst_evaluable_reference : |
| 26 |
Mod_subst.substitution -> Evaluable.t -> Evaluable.t |
| 27 |
|
| 28 |
type reduction_tactic_error = |
| 29 |
InvalidAbstraction of env * evar_map * constr * (env * Type_errors.type_error) |
| 30 |
|
| 31 |
type 'a change = NoChange | Changed of 'a |
| 32 |
type change_function = env -> evar_map -> constr -> (evar_map * constr) change |
| 33 |
|
| 34 |
exception ReductionTacticError of reduction_tactic_error |
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
val is_evaluable : Environ.env -> Evd.evar_map -> Evaluable.t -> bool |
| 41 |
|
| 42 |
exception NotEvaluableRef of GlobRef.t |
| 43 |
val error_not_evaluable : ?loc:Loc.t -> GlobRef.t -> 'a |
| 44 |
|
| 45 |
val evaluable_of_global_reference : |
| 46 |
Environ.env -> GlobRef.t -> Evaluable.t |
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
val soft_evaluable_of_global_reference : |
| 51 |
?loc:Loc.t -> GlobRef.t -> Evaluable.t |
| 52 |
|
| 53 |
|
| 54 |
val global_of_evaluable_reference : |
| 55 |
Evaluable.t -> GlobRef.t |
| 56 |
|
| 57 |
|
| 58 |
val red_product : env -> evar_map -> constr -> constr option |
| 59 |
|
| 60 |
|
| 61 |
val simpl : reduction_function |
| 62 |
|
| 63 |
|
| 64 |
val whd_simpl : reduction_function |
| 65 |
|
| 66 |
|
| 67 |
|
| 68 |
val hnf_constr : reduction_function |
| 69 |
|
| 70 |
*) |
| 71 |
val hnf_constr0 : reduction_function |
| 72 |
|
| 73 |
|
| 74 |
val unfoldn : |
| 75 |
(occurrences * Evaluable.t) list -> reduction_function |
| 76 |
|
| 77 |
|
| 78 |
val fold_commands : constr list -> reduction_function |
| 79 |
|
| 80 |
|
| 81 |
val pattern_occs : (occurrences * constr) list -> change_function |
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
|
| 86 |
val cbv_norm_flags : RedFlags.reds -> strong:bool -> reduction_function |
| 87 |
val cbv_beta : reduction_function |
| 88 |
val cbv_betaiota : reduction_function |
| 89 |
val cbv_betadeltaiota : reduction_function |
| 90 |
val whd_compute : reduction_function |
| 91 |
val compute : reduction_function |
| 92 |
|
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
val reduce_to_atomic_ind : env -> evar_map -> types -> (inductive * EInstance.t) * types |
| 97 |
|
| 98 |
|
| 99 |
|
| 100 |
|
| 101 |
val reduce_to_quantified_ind : env -> evar_map -> types -> (inductive * EInstance.t) * types |
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
val eval_to_quantified_ind : env -> evar_map -> types -> (inductive * EInstance.t) |
| 106 |
|
| 107 |
|
| 108 |
|
| 109 |
|
| 110 |
|
| 111 |
val reduce_to_quantified_ref : |
| 112 |
?allow_failure:bool -> env -> evar_map -> GlobRef.t -> types -> types |
| 113 |
|
| 114 |
val reduce_to_atomic_ref : |
| 115 |
?allow_failure:bool -> env -> evar_map -> GlobRef.t -> types -> types |
| 116 |
|
| 117 |
val find_hnf_rectype : |
| 118 |
env -> evar_map -> types -> (inductive * EInstance.t) * constr list |
| 119 |
|
| 120 |
val contextually : bool -> occurrences * constr_pattern -> |
| 121 |
(patvar_map -> reduction_function) -> reduction_function |
| 122 |
|
| 123 |
val e_contextually : bool -> occurrences * constr_pattern -> |
| 124 |
(patvar_map -> change_function) -> change_function |
| 125 |
|
| 126 |
|
| 127 |
val check_privacy : env -> inductive -> unit |