generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Currently, the precondition checking in expressions follows the following rules:
- given
p => e, all precondition-assertions inecan assumep - given
if p then e1 else e2, all precondition assertions ine1can assumepand all ine2can assumenot p
We would like to add:
3. given p || e, all precondition assertions in e can assume not p
4. given p /\ e, all precondition assertions in e can assume p
And likely (using a lambda-based encoding for let):
5. given let x := e1 in e, preconditions in e1 are added only at the point where x is used in e (which can be in a context including some of the assumptions from the previous rules)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels