diff options
| author | Gaëtan Gilbert | 2021-02-26 17:35:31 +0100 |
|---|---|---|
| committer | Gaëtan Gilbert | 2021-03-04 01:11:19 +0100 |
| commit | 0cb04b50bfde83001e59cd74da77142b567706d9 (patch) | |
| tree | 6d81d23385b6c2f0067842b59e24820fb7149c42 /doc | |
| parent | bb4e1a76802a5440605264320ed528331ec0e2b7 (diff) | |
Fix #12011 ssreflect "rewrite in" with setoids
ssreflect asks setoid rewrite to rewrite in goal
"forall_special_name_ : T, _other_name_"
Since this is a non dependent product, setoid rewrite converts that to
"impl T _other_name_" and must be taught to restore the special name
when unfolding impl.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/changelog/04-tactics/13882-fix-ssr-setoidrw-in-hyp.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/changelog/04-tactics/13882-fix-ssr-setoidrw-in-hyp.rst b/doc/changelog/04-tactics/13882-fix-ssr-setoidrw-in-hyp.rst new file mode 100644 index 0000000000..31b331f0ff --- /dev/null +++ b/doc/changelog/04-tactics/13882-fix-ssr-setoidrw-in-hyp.rst @@ -0,0 +1,6 @@ +- **Fixed:** + Setoid rewriting now remembers the (invisible) binder names of non-dependent product types. SSReflect's rewrite tactic expects these names to be retained when using ``rewrite foo in H``. + This also fixes SSR ``rewrite foo in H *`` erroneously reverting ``H``. + (`#13882 <https://github.com/coq/coq/pull/13882>`_, + fixes `#12011 <https://github.com/coq/coq/issues/12011>`_, + by Gaëtan Gilbert). |
