diff options
author | puech <puech@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2011-07-29 14:25:04 +0000 |
---|---|---|
committer | puech <puech@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2011-07-29 14:25:04 +0000 |
commit | a7331c608a2fb52f11ec3fc4abbae78d68f4682a (patch) | |
tree | 0cdf8232492f4f11fc00ee61d83112004f5aba50 | |
parent | c2d365117bc779b77e43ad150e9db7189b76b3a8 (diff) |
Equality: generic equality on constr replaced by eq_constr
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14322 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r-- | tactics/equality.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tactics/equality.ml b/tactics/equality.ml index de486fcb7..21e593547 100644 --- a/tactics/equality.ml +++ b/tactics/equality.ml @@ -236,8 +236,8 @@ let register_is_applied_rewrite_relation = (:=) is_applied_rewrite_relation let find_elim hdcncl lft2rgt dep cls args gl = let inccl = (cls = None) in - if (hdcncl = constr_of_reference (Coqlib.glob_eq) || - hdcncl = constr_of_reference (Coqlib.glob_jmeq) && + if (eq_constr hdcncl (constr_of_reference (Coqlib.glob_eq)) || + eq_constr hdcncl (constr_of_reference (Coqlib.glob_jmeq)) && pf_conv_x gl (List.nth args 0) (List.nth args 2)) && not dep || Flags.version_less_or_equal Flags.V8_2 then |