-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add initial sequences package + Make package names consistent #11
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be ready to merge after my comments are addressed
seq and set are already reserved, hence we rename them back to their plural counterparts which, according to this [forum exchange](https://forum.golangbridge.org/t/naming-conventions/11180) at least, seems to be the way to go.
* Remove unnecessary postcondition * Factor out some quantified postconditions into separate lemmas to have an extrinsic proof of those properties as explained in https://dafny.org/blog/2023/12/01/avoiding-verification-brittleness/
The following functions still have a quantifier in their postcondition:
Do we want to factor out these quantifiers like we did for IndexOf and IndexOfLast? Additionally, it may be useful to put the 2 quantifiers ensuring that a sequence is the same besides at one index into a separate function, since it is reused multiple times. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, regarding the lemmas with quantified postconditions, I think it is preferable to wait with the changes until we have more information and experience using the library
Implements all definitions from Dafny that do not rely on any (multi)set-related definitions. These will be implemented using separate branches.
Additionally renames the packages to their singular form, and updates folder and file names for consistency.