-
Notifications
You must be signed in to change notification settings - Fork 247
Change in definition of Data.List.Base.filter
etc. result in new unsolved metas in proofs
#2172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
Do you have examples of eg failing client code/tests? The usual |
For example, these two are failing in my own code base:
Yes, I suspect we don't actually ever use any of the filter lemmas in the library? I can't think of anywhere we do. |
Indeed, there are no uses in the library. I'm curious as to how they might have typechecked under the old definitions, unless those had explicit quantification, and somewhere along the line, we made the explicit->implicit 'mistake'...? A better/more precise question: what is the last version of the library that those proofs did check under? |
Ah I remember why I defined the predicate versions in terms of the boolean ones. Because in order to convert from boolean to decidable predicates you need to use |
Well... see previous discussion about moving that operator to |
Re: your opening comment Has the behaviour of Apologies: I suppose that it must be the case, because the tests pass (sic)...? |
Yes, that is the case 👍 |
The definition of
filter
etc got changed to be defined in terms of the boolean test rather than a decidable predicate. Several problems have resulted:filter-accept
andfilter-reject
inData.List.Properties
now need theirxs
parameter to be passed explicitly.We should check all functions which have been redefined similarly.
The text was updated successfully, but these errors were encountered: