diff options
| author | herbelin | 2011-06-18 20:35:32 +0000 |
|---|---|---|
| committer | herbelin | 2011-06-18 20:35:32 +0000 |
| commit | 32e18eb2ec0d44e4265f44d2f3f51daa7d67e9c0 (patch) | |
| tree | 7571347858ea69b085ba522ccebf78301b8c1ae1 /plugins/ring | |
| parent | 9d7499dcd4440aca458cb190ed108ae9b3adff17 (diff) | |
Relaxed the constraint introduced in r14190 that froze the existing
evars when rewriting. Use it for autorewrite and subst. Accept evars
instantiation in multi_rewrite so that rewrite alone remains
compatible (it is used in contribs, e.g. Godel, in places where it
does not seem absurd to allow it), but there are no good reason for
it. Comments welcome.
+ addition of some tests for rewriting (one being related to commit 14217)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14222 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'plugins/ring')
| -rw-r--r-- | plugins/ring/ring.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ring/ring.ml b/plugins/ring/ring.ml index 7588e6a2fa..89309e3232 100644 --- a/plugins/ring/ring.ml +++ b/plugins/ring/ring.ml @@ -820,9 +820,9 @@ let raw_polynom th op lc gl = (tclTHENS (tclORELSE (Equality.general_rewrite true - Termops.all_occurrences false c'i_eq_c''i) + Termops.all_occurrences true false c'i_eq_c''i) (Equality.general_rewrite false - Termops.all_occurrences false c'i_eq_c''i)) + Termops.all_occurrences true false c'i_eq_c''i)) [tac])) else (tclORELSE |
