diff options
| author | jforest | 2006-12-22 11:12:13 +0000 |
|---|---|---|
| committer | jforest | 2006-12-22 11:12:13 +0000 |
| commit | 0e6bbf791548739793c304e16893e0951e4ac587 (patch) | |
| tree | 0168a89317965482934804ec13e32d2aac4bce13 /tactics | |
| parent | 85dbabf5a63bffce3254dbe639c2cff62790b43e (diff) | |
remplacement d'un test d'egalite par un test de convertibilite dans injection/discriminate/inversion pour corriger des bugs en presence de modules.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@9459 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics')
| -rw-r--r-- | tactics/equality.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/equality.ml b/tactics/equality.ml index b1f0360c43..b7a428e2aa 100644 --- a/tactics/equality.ml +++ b/tactics/equality.ml @@ -282,7 +282,7 @@ let find_positions env sigma t1 t2 = let sorts = list_intersect sorts (allowed_sorts env (fst sp1)) in (* both sides are fully applied constructors, so either we descend, or we can discriminate here. *) - if sp1 = sp2 then + if is_conv env sigma hd1 hd2 then let nrealargs = constructor_nrealargs env sp1 in let rargs1 = list_lastn nrealargs args1 in let rargs2 = list_lastn nrealargs args2 in |
