aboutsummaryrefslogtreecommitdiff
path: root/kernel/reduction.ml
diff options
context:
space:
mode:
authorfilliatr1999-09-03 07:42:44 +0000
committerfilliatr1999-09-03 07:42:44 +0000
commit010a1652d7f0072b057235507c0efd5b7284574f (patch)
tree8a85d489d96368230eca4e68add0e6fa953a5235 /kernel/reduction.ml
parent7534d56bf9b4b5f23b1fe1df87288c2d7565853a (diff)
- environnements vides
- suppression du constructeur Implicit (et IsImplicit du coup) - nettoyages divers git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@35 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/reduction.ml')
-rw-r--r--kernel/reduction.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/reduction.ml b/kernel/reduction.ml
index 77331bf5a2..1e72c40334 100644
--- a/kernel/reduction.ml
+++ b/kernel/reduction.ml
@@ -519,6 +519,9 @@ let contract_cofix = function
sAPPViList bodynum (array_last bodyvect) (list_tabulate make_Fi nbodies)
| _ -> assert false
+let mind_nparams env i =
+ let mis = lookup_mind_specif i env in mis.mis_mib.mind_nparams
+
let reduce_mind_case env mia =
match mia.mconstr with
| DOPN(MutConstruct((indsp,tyindx),i),_) ->
@@ -827,9 +830,6 @@ and eqappr cv_pb infos appr1 appr2 =
bool_and_convert (n=m)
(convert_forall2 (ccnv (pb_equal cv_pb) infos lft1 lft2) v1 v2)
- | (FOP0 Implicit, FOP0 Implicit) ->
- convert_of_bool (Array.length v1 = 0 & Array.length v2 = 0)
-
(* 2 constants or 2 abstractions *)
| (FOPN(Const sp1,al1), FOPN(Const sp2,al2)) ->
convert_or