diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-05-05 22:47:32 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-05-05 22:47:32 +0000 |
commit | 9b67b88dc13cbd0720cf88e105a60732f8ab619b (patch) | |
tree | c224d12f6849d6fd736defeee0a244c714045669 /plugins/nsatz | |
parent | 21bbdd6b3cea2a2d9763bfc786b56a4b9e95ad06 (diff) |
Little fix for Nsatz: hypotheses not directly relevant to the nsatz
problem are cleared (in case they denote applicative terms with at
least 6 arguments). However some of them are used for type class
instance inference (e.g. hypotheses of type Integral_domain).
This commits prevents clearing these hypotheses.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16469 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'plugins/nsatz')
-rw-r--r-- | plugins/nsatz/Nsatz.v | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/nsatz/Nsatz.v b/plugins/nsatz/Nsatz.v index 5c1f4c470..21a94afca 100644 --- a/plugins/nsatz/Nsatz.v +++ b/plugins/nsatz/Nsatz.v @@ -248,11 +248,11 @@ Fixpoint interpret3 t fv {struct t}: R := End nsatz1. Ltac equality_to_goal H x y:= - let h := fresh "nH" in (* eliminate trivial hypotheses, but it takes time!: + let h := fresh "nH" in (assert (h:equality x y); [solve [cring] | clear H; clear h]) - || *) (try generalize (@psos_r1 _ _ _ _ _ _ _ _ _ _ _ x y H); clear H) + || *) try (generalize (@psos_r1 _ _ _ _ _ _ _ _ _ _ _ x y H); clear H) . Ltac equalities_to_goal := |