From 0cb04b50bfde83001e59cd74da77142b567706d9 Mon Sep 17 00:00:00 2001 From: Gaëtan Gilbert Date: Fri, 26 Feb 2021 17:35:31 +0100 Subject: 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. --- doc/changelog/04-tactics/13882-fix-ssr-setoidrw-in-hyp.rst | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 doc/changelog/04-tactics/13882-fix-ssr-setoidrw-in-hyp.rst (limited to 'doc') 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 `_, + fixes `#12011 `_, + by Gaëtan Gilbert). -- cgit v1.2.3