Setoid rewriting on Type #13618
Labels
kind: bug
An error, flaw, fault or unintended behaviour.
part: rewriting tactics
The rewrite, autorewrite, rewrite_strat, and setoid_rewrite tactics.
Milestone
Description of the problem
I ran into an issue with setoid rewriting for equivalences on Type, see below for a minimal example. There is a related Zulip topic.
If I just assume an equivalence respecting sum types, rewriting below a sum fails although it can be easily be done by hand. It seems this can be fixed by explicitly aliasing
sum
with full type annotation and annotating occurring data types as well.Using
CMorphism
produces the same error and @mattam82 posted another not fully satisfactory workaround on Zulip.Coq Version
Coq 8.12.0
The text was updated successfully, but these errors were encountered: