-
Notifications
You must be signed in to change notification settings - Fork 31
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
Teach KB about properties that hold of every element of an array #59
Comments
(Similarly, replacing the first argument to |
As of 757562a:
The last example is like the one in After investigating this briefly a while ago, and in more detail recently, I've come to believe that we can't do much better than to "add assumptions on the fly for those elements of w that are mentioned". The issue with giving the needed knowledge to the |
Nice. But there could be a third alternative: there are ways to 'teach' |
I just confirmed that
then compare and rejoice.) Unfortunately I also agree that the "third alternative" that @JacquesCarette pointed out is worth trying. |
These are the types of things I tried, in various ways. The only relevant documentation I found was here, but I couldn't even get that example to do anything (it seems a bit outdated). Other than that, I tried overloading various If there is a particular mechanism of which you're aware that could help accomplish this, I'd very much like to know about it! |
These extension mechanism are all undocumented. I just happen to know them from reading the source. They mainly involve writing |
So should a new issue be made, or this one re-opened? |
I think we need a new issue, which details:
I stumbled upon some The mechanism by which we do this for |
As a short-cut, I'll reopen this issue. Creating good issues that detail the above will take me a non-trivial amount of time. And I am not sure that this is the most-pressing issue. For example, we don't want a |
Both very true statements.
This seems to be stupidly easy; e.g.
This is almost certainly the hard part. Giving a semantics to Of course, there may be a different way of simply stating the fact we want that differs from the above, and makes the |
We can add new properties easily enough. I don't remember quite how (I think it's as simple as creating a Actually, there's an |
See comments at 0a82647#commitcomment-21844243
As discussed there, one goal is to get
to produce
b
The text was updated successfully, but these errors were encountered: