-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementNew feature or requestNew feature or request
Description
In #88, an example of printed guards looked as follows.
Given the query
refinement: Adm2 <= HalfAdm1 && HalfAdm2, the new change will logPicked state pair (L20, L12L14) [ y-x<=0 && x-x<=0 && y-x<=0 && x-y<=0 && x-y<=0 && y-y<=0 && x-x<=0 && y-x<=0 && y-x<=0 && x-y<=0 && y-y<=0 && x-y<=0 ] Picked state pair (L22, L13L14) [ x<=2 && x<=2 && x-x<=0 && x-y<=0 && x-y<=0 && y-y<=0 && x-x<=0 && x-y<=0 && y-y<=0 && x-y<=0 ] Picked state pair (L21, L12L15) [ y<=2 && y<=2 && y-x<=0 && x-x<=0 && y-x<=0 && y-y<=0 && x-x<=0 && y-x<=0 && y-x<=0 && y-y<=0 ] Picked state pair (L20, L12L14) [ x-x<=0 && x-y<=0 && x-y<=0 && y-y<=0 && x-x<=0 && x-y<=0 && y-y<=0 && x-y<=0 ] Picked state pair (L23, L13L15) [ x<=2 && y<=2 && x<=2 && y<=2 && y-x<=0 && x-x<=0 && y-x<=0 && x-y<=2 && x-y<=2 && y-y<=0 && x-x<=0 && y-x<=0 && y-x<=0 && x-y<=2 && y-y<=0 && x-y<=2 ] Picked state pair (L20, L12L14) [ y-x<=0 && x-x<=0 && y-x<=0 && y-y<=0 && x-x<=0 && y-x<=0 && y-x<=0 && y-y<=0 ] Picked state pair (L23, L13L15) [ x<=2 && y<=2 && x<=2 && y<=2 && y-x<=2 && x-x<=0 && y-x<=2 && x-y<=0 && x-y<=0 && y-y<=0 && x-x<=0 && y-x<=2 && y-x<=2 && x-y<=0 && y-y<=0 && x-y<=0 ] Picked state pair (L22, L13L14) [ x<=2 && y<=2 && x<=2 && y<=2 && y-x<=0 && x-x<=0 && y-x<=0 && x-y<=2 && x-y<=2 && y-y<=0 && x-x<=0 && y-x<=0 && y-x<=0 && x-y<=2 && y-y<=0 && x-y<=2 ] Picked state pair (L21, L12L15) [ x<=2 && y<=2 && x<=2 && y<=2 && y-x<=2 && x-x<=0 && y-x<=2 && x-y<=0 && x-y<=0 && y-y<=0 && x-x<=0 && y-x<=2 && y-x<=2 && x-y<=0 && y-y<=0 && x-y<=0 ]It will print the invariant from the
CDD. If this is unsatisfactory, please let me know
(...) But what I notice now is that the printed guard contains repeated terms. In this PR you are just printing the content of CDD as a Guard object, so all these terms are present in the AndGuard object. It seems we could do some more cleaning in the Guard class itself to reduce the size of specific instances.
Originally posted by @magoorden in #88 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request