aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2006-05-13 11:46:02 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2006-05-13 11:46:02 +0000
commitb9f6c5b7641115a18e7b9832da435c32aaa27014 (patch)
tree110a807229abd8567d062b9ce4bd139f0765baeb /pretyping
parentaa70ffaa5fb6565230e23103548be7e05b528b3b (diff)
Code mort
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@8812 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'pretyping')
-rw-r--r--pretyping/reductionops.ml20
-rw-r--r--pretyping/reductionops.mli7
2 files changed, 0 insertions, 27 deletions
diff --git a/pretyping/reductionops.ml b/pretyping/reductionops.ml
index 2a5fba859..187a8840c 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 915b5fb2c..7e27765e4 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