aboutsummaryrefslogtreecommitdiff
path: root/kernel/inductive.ml
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/inductive.ml')
-rw-r--r--kernel/inductive.ml11
1 files changed, 0 insertions, 11 deletions
diff --git a/kernel/inductive.ml b/kernel/inductive.ml
index a5920f870c..f03b1ba14f 100644
--- a/kernel/inductive.ml
+++ b/kernel/inductive.ml
@@ -343,14 +343,3 @@ let build_branch_type env dep p cs =
else
it_mkProd_or_LetIn base cs.cs_args
-(* [Rel (n+m);...;Rel(n+1)] *)
-
-let extended_rel_list n hyps =
- let rec reln l p = function
- | (_,None,_) :: hyps -> reln (mkRel (n+p) :: l) (p+1) hyps
- | (_,Some _,_) :: hyps -> reln l (p+1) hyps
- | [] -> l
- in
- reln [] 1 hyps
-
-let extended_rel_vect n hyps = Array.of_list (extended_rel_list n hyps)