diff options
| author | coq | 2002-08-16 10:00:36 +0000 |
|---|---|---|
| committer | coq | 2002-08-16 10:00:36 +0000 |
| commit | b1eef69751a05eebdbdc9d3091e1dae3386218d0 (patch) | |
| tree | e7c3c7b3657f1d15e6931e71f77d1da4114d2b2c /kernel/reduction.ml | |
| parent | a1858ecd34bd7946dab7e7fbf2413036f78f7109 (diff) | |
Strengthenning rules for modules + No modules in sections
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2969 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/reduction.ml')
| -rw-r--r-- | kernel/reduction.ml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/kernel/reduction.ml b/kernel/reduction.ml index 4512546ae7..a452138fc1 100644 --- a/kernel/reduction.ml +++ b/kernel/reduction.ml @@ -244,14 +244,15 @@ and eqappr cv_pb infos appr1 appr2 cuniv = let u3 = convert_vect infos el1 el2 cl1 cl2 u2 in convert_stacks infos lft1 lft2 v1 v2 u3 *) - | (FInd op1, FInd op2) -> - if op1 = op2 then + | (FInd (kn1,i1), FInd (kn2,i2)) -> + if i1 = i2 && mind_equiv infos kn1 kn2 + then convert_stacks infos lft1 lft2 v1 v2 cuniv else raise NotConvertible - | (FConstruct op1, FConstruct op2) -> - if op1 = op2 - then + | (FConstruct ((kn1,i1),j1), FConstruct ((kn2,i2),j2)) -> + if i1 = i2 && j1 = j2 && mind_equiv infos kn1 kn2 + then convert_stacks infos lft1 lft2 v1 v2 cuniv else raise NotConvertible |
