diff options
| -rw-r--r-- | pretyping/reductionops.ml | 20 | ||||
| -rw-r--r-- | pretyping/reductionops.mli | 7 |
2 files changed, 0 insertions, 27 deletions
diff --git a/pretyping/reductionops.ml b/pretyping/reductionops.ml index 2a5fba8595..187a8840ca 100644 --- a/pretyping/reductionops.ml +++ b/pretyping/reductionops.ml @@ -847,26 +847,6 @@ let is_arity env sigma c = | Sort _ -> true | _ -> false -let info_arity env sigma c = - match find_conclusion env sigma c with - | Sort (Prop Null) -> false - | Sort (Prop Pos) -> true - | _ -> raise IsType - -let is_info_arity env sigma c = - try (info_arity env sigma c) with IsType -> true - -let is_type_arity env sigma c = - match find_conclusion env sigma c with - | Sort (Type _) -> true - | _ -> false - -let is_info_type env sigma t = - let s = t.utj_type in - (s = Prop Pos) || - (s <> Prop Null && - try info_arity env sigma t.utj_val with IsType -> true) - (*************************************) (* Metas *) diff --git a/pretyping/reductionops.mli b/pretyping/reductionops.mli index 915b5fb2c7..7e27765e42 100644 --- a/pretyping/reductionops.mli +++ b/pretyping/reductionops.mli @@ -175,13 +175,6 @@ val reduce_mind_case : constr miota_args -> constr val find_conclusion : env -> evar_map -> constr -> (constr,constr) kind_of_term val is_arity : env -> evar_map -> constr -> bool -val is_info_type : env -> evar_map -> unsafe_type_judgment -> bool -val is_info_arity : env -> evar_map -> constr -> bool -(*i Pour l'extraction -val is_type_arity : env -> 'a evar_map -> constr -> bool -val is_info_cast_type : env -> 'a evar_map -> constr -> bool -val contents_of_cast_type : env -> 'a evar_map -> constr -> contents -i*) val whd_programs : reduction_function |
