diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2001-12-20 08:24:41 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2001-12-20 08:24:41 +0000 |
commit | 3d7219b7796d1baec524141d224ffc3fa79ab3b4 (patch) | |
tree | 48538404e9844a67b6874b25ac9eeca8bdc9f38b | |
parent | 41dbbc37997e28d66f629303dd2996fa9fb04492 (diff) |
Code mort
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2353 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r-- | kernel/inductive.ml | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/kernel/inductive.ml b/kernel/inductive.ml index f52634f4c..e109fe479 100644 --- a/kernel/inductive.ml +++ b/kernel/inductive.ml @@ -380,12 +380,6 @@ let push_var_renv renv (x,ty) = rel_min = renv.rel_min+1; lst = map_lift_fst_n 1 renv.lst } -let push_def_renv renv (x,b,ty) = - { renv with - env = push_rel (x,Some b,ty) renv.env; - rel_min = renv.rel_min+1; - lst = map_lift_fst_n 1 renv.lst } - let push_ctxt_renv renv ctxt = let n = rel_context_length ctxt in { renv with @@ -474,8 +468,7 @@ let case_branches_specif renv = add_recarg renv (x,a,lc) | _ -> push_var_renv renv (x,a) in crec renv' lr b - | (_,LetIn (x,c,a,b)) -> - crec renv (*(push_def_renv renv (x,c,a)) *)lrec (subst1 c b) + | (_,LetIn (x,c,a,b)) -> crec renv lrec (subst1 c b) (* Rq: if branch is not eta-long, then the recursive information is not propagated: *) | (_,_) -> (renv,c') |