Closed RalfJung closed 8 years ago
You are perfectly right, it is a bug. What fails is the resolution of the type class behind the ( !! ) notation. It fails because the code used to pass the wrong set of universe constraints to the type class engine. I'm testing the fix and hopefully pushing it shortly.
Thank you very much Enrico! It also fixes the issue in our (= Ralf's and mine) actual code.
Thanks a lot for fixing this :) However, is there any chance of a release any time soon? Without a release, we have to keep our work-arounds in place so that people can use our development with a stable version of ssreflect...
Unfortunately, you will not see a release before Christmas. I'm too busy to make it happen.
You actually did make it happen before Christmas, after all. Thanks a ton :)
In the following code, ssreflect is unable to perform the rewrite, claiming that
wp _
does not match the goal:This is obviously wrong, the RHS does match the goal. If I replace
rewrite -
byrewrite <-
, the rewrite succeeds. Similar, if I replace the(λ ... )
byφ
, the rewrite succeeds. Finally, if I replaceσ !! l = None
byl = 0
, again the rewrite succeeds.This is with ssreflect 1.6 and Coq 8.5.